chore: remove snapshot tests #3
Annotations
4 errors
tests/e2e/cli-commands.test.ts#L27
Error: Command failed: pnpm exec esno D:\a\CodeWhisper\CodeWhisper\cli.js generate -p "D:\a\CodeWhisper\CodeWhisper\tests\fixtures\test-project" -o "D:\a\CodeWhisper\CodeWhisper\tests\fixtures\test-project\output.md" -g "D:\a\CodeWhisper\CodeWhisper\tests\fixtures\test-project\.gitignore"
❯ tests/e2e/cli-commands.test.ts:27:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, null, null ], pid: 6664, stdout: null, stderr: null }
|
tests/integration/markdown-generation.test.ts#L106
AssertionError: expected '# Custom Template: Test Project\r\n\r…' to contain '```typescript\nconsole.log("Hello, Wo…'
- Expected
+ Received
- ```typescript
- console.log("Hello, World!");
- ```
+ # Custom Template: Test Project
+
+ ## Project Overview
+
+ This project contains 2 file(s).
+
+ ## File Listing
+
+ ### src/index.ts
+
+ - **Language:** typescript
+ - **Size:** 100 bytes
+ - **Last Modified:** Mon Jan 02 2023 00:00:00 GMT+0000 (Coordinated Universal Time)
+
+ #### Content Preview:
+
+ ```typescript
+ console.log("Hello, World!");
+ ```
+
+ ---
+ ### README.md
+
+ - **Language:** markdown
+ - **Size:** 50 bytes
+ - **Last Modified:** Sun Jan 01 2023 00:00:00 GMT+0000 (Coordinated Universal Time)
+
+ #### Content Preview:
+
+ ```markdown
+ # Project README
+ ```
+
+ ---
+
+ ## Custom Data
+
+ Custom data provided:
+ - title: Test Project
+ - version: 1.0.0
+
❯ tests/integration/markdown-generation.test.ts:106:40
|
tests/unit/file-processor.test.ts#L184
AssertionError: expected 2 to be 3 // Object.is equality
- Expected
+ Received
- 3
+ 2
❯ tests/unit/file-processor.test.ts:184:27
|
|
This job failed
Loading