Skip to content

chore: fix workflow

chore: fix workflow #2

Triggered via push July 20, 2024 07:46
Status Failure
Total duration 1m 2s
Billable time 5m
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

16 errors
tests/snapshot/markdown-output.test.ts > Markdown Output > should match snapshot for default template: tests/snapshot/markdown-output.test.ts#L61
Error: Snapshot `Markdown Output > should match snapshot for default template 1` mismatched - Expected + Received @@ -8,11 +8,11 @@ ## package.json - Language: json - Size: 51 bytes - - Last modified: Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - Last modified: Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) ```json { "name": "test-project", "version": "1.0.0" @@ -22,22 +22,22 @@ ## src/main.js - Language: javascript - Size: 30 bytes - - Last modified: Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - Last modified: Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) ```javascript console.log('Hello, World!'); ``` ## src/utils.ts - Language: typescript - Size: 70 bytes - - Last modified: Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - Last modified: Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) ```typescript export function add(a: number, b: number): number { return a + b; } ❯ tests/snapshot/markdown-output.test.ts:61:22
tests/snapshot/markdown-output.test.ts > Markdown Output > should match snapshot for custom template with custom data: tests/snapshot/markdown-output.test.ts#L68
Error: Snapshot `Markdown Output > should match snapshot for custom template with custom data 1` mismatched - Expected + Received @@ -8,11 +8,11 @@ ### package.json - **Language:** json - **Size:** 51 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```json { @@ -25,11 +25,11 @@ --- ### src/main.js - **Language:** javascript - **Size:** 30 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```javascript console.log('Hello, World!'); @@ -39,11 +39,11 @@ --- ### src/utils.ts - **Language:** typescript - **Size:** 70 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```typescript export function add(a: number, b: number): number { ❯ tests/snapshot/markdown-output.test.ts:68:22
tests/snapshot/markdown-output.test.ts > Markdown Output > should match snapshot for default template with no codeblocks: tests/snapshot/markdown-output.test.ts#L75
Error: Snapshot `Markdown Output > should match snapshot for default template with no codeblocks 1` mismatched - Expected + Received @@ -8,11 +8,11 @@ ## package.json - Language: json - Size: 51 bytes - - Last modified: Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - Last modified: Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) { "name": "test-project", "version": "1.0.0" } @@ -20,19 +20,19 @@ ## src/main.js - Language: javascript - Size: 30 bytes - - Last modified: Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - Last modified: Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) console.log('Hello, World!'); ## src/utils.ts - Language: typescript - Size: 70 bytes - - Last modified: Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - Last modified: Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) export function add(a: number, b: number): number { return a + b; } ❯ tests/snapshot/markdown-output.test.ts:75:22
tests/snapshot/markdown-output.test.ts > Markdown Output > should match snapshot for custom template with additional custom data: tests/snapshot/markdown-output.test.ts#L87
Error: Snapshot `Markdown Output > should match snapshot for custom template with additional custom data 1` mismatched - Expected + Received @@ -8,11 +8,11 @@ ### package.json - **Language:** json - **Size:** 51 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```json { @@ -25,11 +25,11 @@ --- ### src/main.js - **Language:** javascript - **Size:** 30 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```javascript console.log('Hello, World!'); @@ -39,11 +39,11 @@ --- ### src/utils.ts - **Language:** typescript - **Size:** 70 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```typescript export function add(a: number, b: number): number { ❯ tests/snapshot/markdown-output.test.ts:87:22
tests/snapshot/markdown-output.test.ts > Markdown Output > should match snapshot for custom template with empty custom data: tests/snapshot/markdown-output.test.ts#L94
Error: Snapshot `Markdown Output > should match snapshot for custom template with empty custom data 1` mismatched - Expected + Received @@ -8,11 +8,11 @@ ### package.json - **Language:** json - **Size:** 51 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```json { @@ -25,11 +25,11 @@ --- ### src/main.js - **Language:** javascript - **Size:** 30 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```javascript console.log('Hello, World!'); @@ -39,11 +39,11 @@ --- ### src/utils.ts - **Language:** typescript - **Size:** 70 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:50 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```typescript export function add(a: number, b: number): number { ❯ tests/snapshot/markdown-output.test.ts:94:22
test (lts/*, macos-latest)
Process completed with exit code 1.
tests/snapshot/markdown-output.test.ts > Markdown Output > should match snapshot for default template: tests/snapshot/markdown-output.test.ts#L61
Error: Snapshot `Markdown Output > should match snapshot for default template 1` mismatched - Expected + Received @@ -8,11 +8,11 @@ ## package.json - Language: json - Size: 51 bytes - - Last modified: Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - Last modified: Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) ```json { "name": "test-project", "version": "1.0.0" @@ -22,22 +22,22 @@ ## src/main.js - Language: javascript - Size: 30 bytes - - Last modified: Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - Last modified: Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) ```javascript console.log('Hello, World!'); ``` ## src/utils.ts - Language: typescript - Size: 70 bytes - - Last modified: Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - Last modified: Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) ```typescript export function add(a: number, b: number): number { return a + b; } ❯ tests/snapshot/markdown-output.test.ts:61:22
tests/snapshot/markdown-output.test.ts > Markdown Output > should match snapshot for custom template with custom data: tests/snapshot/markdown-output.test.ts#L68
Error: Snapshot `Markdown Output > should match snapshot for custom template with custom data 1` mismatched - Expected + Received @@ -8,11 +8,11 @@ ### package.json - **Language:** json - **Size:** 51 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```json { @@ -25,11 +25,11 @@ --- ### src/main.js - **Language:** javascript - **Size:** 30 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```javascript console.log('Hello, World!'); @@ -39,11 +39,11 @@ --- ### src/utils.ts - **Language:** typescript - **Size:** 70 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```typescript export function add(a: number, b: number): number { ❯ tests/snapshot/markdown-output.test.ts:68:22
tests/snapshot/markdown-output.test.ts > Markdown Output > should match snapshot for default template with no codeblocks: tests/snapshot/markdown-output.test.ts#L75
Error: Snapshot `Markdown Output > should match snapshot for default template with no codeblocks 1` mismatched - Expected + Received @@ -8,11 +8,11 @@ ## package.json - Language: json - Size: 51 bytes - - Last modified: Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - Last modified: Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) { "name": "test-project", "version": "1.0.0" } @@ -20,19 +20,19 @@ ## src/main.js - Language: javascript - Size: 30 bytes - - Last modified: Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - Last modified: Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) console.log('Hello, World!'); ## src/utils.ts - Language: typescript - Size: 70 bytes - - Last modified: Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - Last modified: Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) export function add(a: number, b: number): number { return a + b; } ❯ tests/snapshot/markdown-output.test.ts:75:22
tests/snapshot/markdown-output.test.ts > Markdown Output > should match snapshot for custom template with additional custom data: tests/snapshot/markdown-output.test.ts#L87
Error: Snapshot `Markdown Output > should match snapshot for custom template with additional custom data 1` mismatched - Expected + Received @@ -8,11 +8,11 @@ ### package.json - **Language:** json - **Size:** 51 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```json { @@ -25,11 +25,11 @@ --- ### src/main.js - **Language:** javascript - **Size:** 30 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```javascript console.log('Hello, World!'); @@ -39,11 +39,11 @@ --- ### src/utils.ts - **Language:** typescript - **Size:** 70 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```typescript export function add(a: number, b: number): number { ❯ tests/snapshot/markdown-output.test.ts:87:22
tests/snapshot/markdown-output.test.ts > Markdown Output > should match snapshot for custom template with empty custom data: tests/snapshot/markdown-output.test.ts#L94
Error: Snapshot `Markdown Output > should match snapshot for custom template with empty custom data 1` mismatched - Expected + Received @@ -8,11 +8,11 @@ ### package.json - **Language:** json - **Size:** 51 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```json { @@ -25,11 +25,11 @@ --- ### src/main.js - **Language:** javascript - **Size:** 30 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```javascript console.log('Hello, World!'); @@ -39,11 +39,11 @@ --- ### src/utils.ts - **Language:** typescript - **Size:** 70 bytes - - **Last Modified:** Wed Jul 10 2024 23:40:47 GMT+0200 (Central European Summer Time) + - **Last Modified:** Sat Jul 20 2024 07:46:51 GMT+0000 (Coordinated Universal Time) #### Content Preview: ```typescript export function add(a: number, b: number): number { ❯ tests/snapshot/markdown-output.test.ts:94:22
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
tests/e2e/cli-commands.test.ts > CLI Commands > should generate markdown file with default options: 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: 6444, stdout: null, stderr: null }
tests/integration/markdown-generation.test.ts > Markdown Generation Integration > should use custom template when provided: 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 > processFiles > should use cache for unchanged files: 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
test (lts/*, windows-latest)
Process completed with exit code 1.