test: Execute all tests on VSIX Installation base #315
94 passed, 10 failed and 0 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test-results/-config-file-change.json | 2✅ | 4s | ||
test-results/-no-config.json | 1✅ | 13s | ||
test-results/-overlapping-tests.json | 9✅ | 1s | ||
test-results/-simple.json | 12✅ | 10s | ||
test-results/-source-mapped.json | 4✅ | 877ms | ||
test-results/-tsnode-checkjs.json | 2✅ | 2s | ||
test-results/-typescript-full.json | 3✅ | 2s | ||
test-results/-typescript-top-level-await.json | 1✅ | 103ms | ||
test-results/-typescript.json | 4✅ | 2s | ||
test-results/-unit.json | 14✅ | 123ms | ||
test-results/vsix-config-file-change.json | 2✅ | 4s | ||
test-results/vsix-no-config.json | 1✅ | 13s | ||
test-results/vsix-overlapping-tests.json | 9✅ | 1s | ||
test-results/vsix-simple.json | 12✅ | 10s | ||
test-results/vsix-source-mapped.json | 4✅ | 1s | ||
test-results/vsix-tsnode-checkjs.json | 2❌ | 2s | ||
test-results/vsix-typescript-full.json | 3❌ | 2s | ||
test-results/vsix-typescript-top-level-await.json | 1❌ | 459ms | ||
test-results/vsix-typescript.json | 4❌ | 2s | ||
test-results/vsix-unit.json | 14✅ | 82ms |
✅ test-results/-config-file-change.json
2 tests were completed in 4s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/config-file-change.test.js | 2✅ | 3s |
✅ out/test/integration/config-file-change.test.js
config-file-change
✅ delete-create-flow
✅ rename-flow
✅ test-results/-no-config.json
1 tests were completed in 13s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/no-config.test.js | 1✅ | 12s |
✅ out/test/integration/no-config.test.js
no-config
✅ create-file-flow
✅ test-results/-overlapping-tests.json
9 tests were completed in 1s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/overlapping-tests.test.js | 9✅ | 1s |
✅ out/test/integration/overlapping-tests.test.js
overlapping tests
✅ cannot differenciate overlapping suites
✅ discovers tests
✅ runs all in folder
✅ runs all suites in specific file
✅ runs all tests
✅ runs mixed nodes
✅ runs multiple files
✅ runs only suite of specific file
✅ runs only test of specific file
✅ test-results/-simple.json
12 tests were completed in 10s with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/simple.test.js | 12✅ | 3s |
✅ out/test/integration/simple.test.js
simple
✅ cleans up folder if all child files are deleted
✅ correct failing test location
✅ debugs tests in a file
✅ discovers tests
✅ handles changes to .mocharc.js
✅ handles file and directory excludes
✅ handles file change
✅ handles file delete
✅ runs subsets of tests
✅ runs tests
✅ runs tests in a file
✅ runs tests in directory
✅ test-results/-source-mapped.json
4 tests were completed in 877ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/source-mapped.test.js | 4✅ | 848ms |
✅ out/test/integration/source-mapped.test.js
source mapped
✅ debugs tests
✅ discovers tests
✅ has correct test locations
✅ runs tests
✅ test-results/-tsnode-checkjs.json
2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/tsnode-checkjs.test.js | 2✅ | 2s |
✅ out/test/integration/tsnode-checkjs.test.js
tsnode-checkjs
✅ discovers tests
✅ runs tests
✅ test-results/-typescript-full.json
3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/typescript-full.test.js | 3✅ | 2s |
✅ out/test/integration/typescript-full.test.js
typescript-full
✅ debugs tests
✅ discovers tests
✅ runs tests
✅ test-results/-typescript-top-level-await.json
1 tests were completed in 103ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/typescript-top-level-await.test.js | 1✅ | 70ms |
✅ out/test/integration/typescript-top-level-await.test.js
typescript top level await
✅ discovers tests fails cjs
✅ test-results/-typescript.json
4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/typescript.test.js | 4✅ | 2s |
✅ out/test/integration/typescript.test.js
typescript
✅ correct failing test location
✅ debugs tests
✅ discovers tests
✅ runs tests
✅ test-results/-unit.json
14 tests were completed in 123ms with 14 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/unit/extract/evaluate-typescript.test.js | 4✅ | 36ms | ||
out/test/unit/extract/evaluate.test.js | 6✅ | 9ms | ||
out/test/unit/extract/syntax.test.js | 4✅ | 12ms |
✅ out/test/unit/extract/evaluate-typescript.test.js
evaluate typescript
✅ extracts basic suite
✅ extracts basic suite ts syntax
✅ extracts basic suite with import
✅ extracts multiple suite
✅ out/test/unit/extract/evaluate.test.js
evaluate
✅ can evaluate and extract a test table
✅ extracts basic suite
✅ handles errors appropriately
✅ runs esbuild-style modules
✅ stubs out requires and placeholds correctly
✅ works with skip/only
✅ out/test/unit/extract/syntax.test.js
syntax
✅ can detect suite but not dynamic tests
✅ extracts basic suite
✅ stubs out requires and placeholds correctly
✅ works with skip/only
✅ test-results/vsix-config-file-change.json
2 tests were completed in 4s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/config-file-change.test.js | 2✅ | 3s |
✅ out/test/integration/config-file-change.test.js
config-file-change
✅ delete-create-flow
✅ rename-flow
✅ test-results/vsix-no-config.json
1 tests were completed in 13s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/no-config.test.js | 1✅ | 13s |
✅ out/test/integration/no-config.test.js
no-config
✅ create-file-flow
✅ test-results/vsix-overlapping-tests.json
9 tests were completed in 1s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/overlapping-tests.test.js | 9✅ | 1s |
✅ out/test/integration/overlapping-tests.test.js
overlapping tests
✅ cannot differenciate overlapping suites
✅ discovers tests
✅ runs all in folder
✅ runs all suites in specific file
✅ runs all tests
✅ runs mixed nodes
✅ runs multiple files
✅ runs only suite of specific file
✅ runs only test of specific file
✅ test-results/vsix-simple.json
12 tests were completed in 10s with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/simple.test.js | 12✅ | 3s |
✅ out/test/integration/simple.test.js
simple
✅ cleans up folder if all child files are deleted
✅ correct failing test location
✅ debugs tests in a file
✅ discovers tests
✅ handles changes to .mocharc.js
✅ handles file and directory excludes
✅ handles file change
✅ handles file delete
✅ runs subsets of tests
✅ runs tests
✅ runs tests in a file
✅ runs tests in directory
✅ test-results/vsix-source-mapped.json
4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/source-mapped.test.js | 4✅ | 1s |
✅ out/test/integration/source-mapped.test.js
source mapped
✅ debugs tests
✅ discovers tests
✅ has correct test locations
✅ runs tests
❌ test-results/vsix-tsnode-checkjs.json
2 tests were completed in 2s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/tsnode-checkjs.test.js | 2❌ | 2s |
❌ out/test/integration/tsnode-checkjs.test.js
tsnode-checkjs
❌ discovers tests
[["test",[["hello.spec.ts","Error: The package \"@esbuild/darwin-arm64\" could not be found, and is needed by esbuild.\n\nIf you are installing esbuild with npm, make sure that you don't specify the\n\"--no-optional\" or \"--omit=optional\" flags. The \"optionalDependencies\" feature\nof \"package.json\" is used by esbuild to install the correct binary executable\nfor your current platform."]]]]
❌ runs tests
{"test/hello.spec.ts":["enqueued","skipped"]}
❌ test-results/vsix-typescript-full.json
3 tests were completed in 2s with 0 passed, 3 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/typescript-full.test.js | 3❌ | 2s |
❌ out/test/integration/typescript-full.test.js
typescript-full
❌ debugs tests
{"hello.test.ts":["enqueued","skipped"],"shared.test.ts":["enqueued","skipped"]}
❌ discovers tests
[["hello.test.ts","Error: The package \"@esbuild/darwin-arm64\" could not be found, and is needed by esbuild.\n\nIf you are installing esbuild with npm, make sure that you don't specify the\n\"--no-optional\" or \"--omit=optional\" flags. The \"optionalDependencies\" feature\nof \"package.json\" is used by esbuild to install the correct binary executable\nfor your current platform."],["shared.test.ts","Error: The package \"@esbuild/darwin-arm64\" could not be found, and is needed by esbuild.\n\nIf you are installing esbuild with npm, make sure that you don't specify the\n\"--no-optional\" or \"--omit=optional\" flags. The \"optionalDependencies\" feature\nof \"package.json\" is used by esbuild to install the correct binary executable\nfor your current platform."]]
❌ runs tests
{"hello.test.ts":["enqueued","skipped"],"shared.test.ts":["enqueued","skipped"]}
❌ test-results/vsix-typescript-top-level-await.json
1 tests were completed in 459ms with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/typescript-top-level-await.test.js | 1❌ | 428ms |
❌ out/test/integration/typescript-top-level-await.test.js
typescript top level await
❌ discovers tests fails cjs
expected 'Error: The package "@esbuild/darwin-a…' to include 'Transform failed with'
❌ test-results/vsix-typescript.json
4 tests were completed in 2s with 0 passed, 4 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/integration/typescript.test.js | 4❌ | 2s |
❌ out/test/integration/typescript.test.js
typescript
❌ correct failing test location
Cannot read properties of undefined (reading 'children')
❌ debugs tests
{"hello.test.ts":["enqueued","skipped"]}
❌ discovers tests
[["hello.test.ts","Error: The package \"@esbuild/darwin-arm64\" could not be found, and is needed by esbuild.\n\nIf you are installing esbuild with npm, make sure that you don't specify the\n\"--no-optional\" or \"--omit=optional\" flags. The \"optionalDependencies\" feature\nof \"package.json\" is used by esbuild to install the correct binary executable\nfor your current platform."]]
❌ runs tests
{"hello.test.ts":["enqueued","skipped"]}
✅ test-results/vsix-unit.json
14 tests were completed in 82ms with 14 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
out/test/unit/extract/evaluate-typescript.test.js | 4✅ | 21ms | ||
out/test/unit/extract/evaluate.test.js | 6✅ | 8ms | ||
out/test/unit/extract/syntax.test.js | 4✅ | 11ms |
✅ out/test/unit/extract/evaluate-typescript.test.js
evaluate typescript
✅ extracts basic suite
✅ extracts basic suite ts syntax
✅ extracts basic suite with import
✅ extracts multiple suite
✅ out/test/unit/extract/evaluate.test.js
evaluate
✅ can evaluate and extract a test table
✅ extracts basic suite
✅ handles errors appropriately
✅ runs esbuild-style modules
✅ stubs out requires and placeholds correctly
✅ works with skip/only
✅ out/test/unit/extract/syntax.test.js
syntax
✅ can detect suite but not dynamic tests
✅ extracts basic suite
✅ stubs out requires and placeholds correctly
✅ works with skip/only
Annotations
Check failure on line 0 in test-results/vsix-tsnode-checkjs.json
github-actions / VS Code Test Results (macos-latest, stable, desktop)
out/test/integration/tsnode-checkjs.test.js ► tsnode-checkjs ► discovers tests
Failed test found in:
test-results/vsix-tsnode-checkjs.json
Error:
[["test",[["hello.spec.ts","Error: The package \"@esbuild/darwin-arm64\" could not be found, and is needed by esbuild.\n\nIf you are installing esbuild with npm, make sure that you don't specify the\n\"--no-optional\" or \"--omit=optional\" flags. The \"optionalDependencies\" feature\nof \"package.json\" is used by esbuild to install the correct binary executable\nfor your current platform."]]]]
Raw output
AssertionError [ERR_ASSERTION]: [["test",[["hello.spec.ts","Error: The package \"@esbuild/darwin-arm64\" could not be found, and is needed by esbuild.\n\nIf you are installing esbuild with npm, make sure that you don't specify the\n\"--no-optional\" or \"--omit=optional\" flags. The \"optionalDependencies\" feature\nof \"package.json\" is used by esbuild to install the correct binary executable\nfor your current platform."]]]]
at expectTestTree (out/test/util.js:211:12)
at Context.<anonymous> (out/test/integration/tsnode-checkjs.test.js:40:35)
Check failure on line 0 in test-results/vsix-tsnode-checkjs.json
github-actions / VS Code Test Results (macos-latest, stable, desktop)
out/test/integration/tsnode-checkjs.test.js ► tsnode-checkjs ► runs tests
Failed test found in:
test-results/vsix-tsnode-checkjs.json
Error:
{"test/hello.spec.ts":["enqueued","skipped"]}
Raw output
AssertionError [ERR_ASSERTION]: {"test/hello.spec.ts":["enqueued","skipped"]}
at FakeTestRun.expectStates (out/test/util.js:259:16)
at Context.<anonymous> (out/test/integration/tsnode-checkjs.test.js:47:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in test-results/vsix-typescript-full.json
github-actions / VS Code Test Results (macos-latest, stable, desktop)
out/test/integration/typescript-full.test.js ► typescript-full ► debugs tests
Failed test found in:
test-results/vsix-typescript-full.json
Error:
{"hello.test.ts":["enqueued","skipped"],"shared.test.ts":["enqueued","skipped"]}
Raw output
AssertionError [ERR_ASSERTION]: {"hello.test.ts":["enqueued","skipped"],"shared.test.ts":["enqueued","skipped"]}
at FakeTestRun.expectStates (out/test/util.js:259:16)
at Context.<anonymous> (out/test/integration/typescript-full.test.js:75:13)
Check failure on line 0 in test-results/vsix-typescript-full.json
github-actions / VS Code Test Results (macos-latest, stable, desktop)
out/test/integration/typescript-full.test.js ► typescript-full ► discovers tests
Failed test found in:
test-results/vsix-typescript-full.json
Error:
[["hello.test.ts","Error: The package \"@esbuild/darwin-arm64\" could not be found, and is needed by esbuild.\n\nIf you are installing esbuild with npm, make sure that you don't specify the\n\"--no-optional\" or \"--omit=optional\" flags. The \"optionalDependencies\" feature\nof \"package.json\" is used by esbuild to install the correct binary executable\nfor your current platform."],["shared.test.ts","Error: The package \"@esbuild/darwin-arm64\" could not be found, and is needed by esbuild.\n\nIf you are installing esbuild with npm, make sure that you don't specify the\n\"--no-optional\" or \"--omit=optional\" flags. The \"optionalDependencies\" feature\nof \"package.json\" is used by esbuild to install the correct binary executable\nfor your current platform."]]
Raw output
AssertionError [ERR_ASSERTION]: [["hello.test.ts","Error: The package \"@esbuild/darwin-arm64\" could not be found, and is needed by esbuild.\n\nIf you are installing esbuild with npm, make sure that you don't specify the\n\"--no-optional\" or \"--omit=optional\" flags. The \"optionalDependencies\" feature\nof \"package.json\" is used by esbuild to install the correct binary executable\nfor your current platform."],["shared.test.ts","Error: The package \"@esbuild/darwin-arm64\" could not be found, and is needed by esbuild.\n\nIf you are installing esbuild with npm, make sure that you don't specify the\n\"--no-optional\" or \"--omit=optional\" flags. The \"optionalDependencies\" feature\nof \"package.json\" is used by esbuild to install the correct binary executable\nfor your current platform."]]
at expectTestTree (out/test/util.js:211:12)
at Context.<anonymous> (out/test/integration/typescript-full.test.js:54:35)
Check failure on line 0 in test-results/vsix-typescript-full.json
github-actions / VS Code Test Results (macos-latest, stable, desktop)
out/test/integration/typescript-full.test.js ► typescript-full ► runs tests
Failed test found in:
test-results/vsix-typescript-full.json
Error:
{"hello.test.ts":["enqueued","skipped"],"shared.test.ts":["enqueued","skipped"]}
Raw output
AssertionError [ERR_ASSERTION]: {"hello.test.ts":["enqueued","skipped"],"shared.test.ts":["enqueued","skipped"]}
at FakeTestRun.expectStates (out/test/util.js:259:16)
at Context.<anonymous> (out/test/integration/typescript-full.test.js:63:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in test-results/vsix-typescript-top-level-await.json
github-actions / VS Code Test Results (macos-latest, stable, desktop)
out/test/integration/typescript-top-level-await.test.js ► typescript top level await ► discovers tests fails cjs
Failed test found in:
test-results/vsix-typescript-top-level-await.json
Error:
expected 'Error: The package "@esbuild/darwin-a…' to include 'Transform failed with'
Raw output
AssertionError: expected 'Error: The package "@esbuild/darwin-a…' to include 'Transform failed with'
at Context.<anonymous> (out/test/integration/typescript-top-level-await.test.js:21:21)
Check failure on line 0 in test-results/vsix-typescript.json
github-actions / VS Code Test Results (macos-latest, stable, desktop)
out/test/integration/typescript.test.js ► typescript ► correct failing test location
Failed test found in:
test-results/vsix-typescript.json
Error:
Cannot read properties of undefined (reading 'children')
Raw output
TypeError: Cannot read properties of undefined (reading 'children')
at Context.<anonymous> (out/test/integration/typescript.test.js:69:138)
Check failure on line 0 in test-results/vsix-typescript.json
github-actions / VS Code Test Results (macos-latest, stable, desktop)
out/test/integration/typescript.test.js ► typescript ► debugs tests
Failed test found in:
test-results/vsix-typescript.json
Error:
{"hello.test.ts":["enqueued","skipped"]}
Raw output
AssertionError [ERR_ASSERTION]: {"hello.test.ts":["enqueued","skipped"]}
at FakeTestRun.expectStates (out/test/util.js:259:16)
at Context.<anonymous> (out/test/integration/typescript.test.js:61:13)
Check failure on line 0 in test-results/vsix-typescript.json
github-actions / VS Code Test Results (macos-latest, stable, desktop)
out/test/integration/typescript.test.js ► typescript ► discovers tests
Failed test found in:
test-results/vsix-typescript.json
Error:
[["hello.test.ts","Error: The package \"@esbuild/darwin-arm64\" could not be found, and is needed by esbuild.\n\nIf you are installing esbuild with npm, make sure that you don't specify the\n\"--no-optional\" or \"--omit=optional\" flags. The \"optionalDependencies\" feature\nof \"package.json\" is used by esbuild to install the correct binary executable\nfor your current platform."]]
Raw output
AssertionError [ERR_ASSERTION]: [["hello.test.ts","Error: The package \"@esbuild/darwin-arm64\" could not be found, and is needed by esbuild.\n\nIf you are installing esbuild with npm, make sure that you don't specify the\n\"--no-optional\" or \"--omit=optional\" flags. The \"optionalDependencies\" feature\nof \"package.json\" is used by esbuild to install the correct binary executable\nfor your current platform."]]
at expectTestTree (out/test/util.js:211:12)
at Context.<anonymous> (out/test/integration/typescript.test.js:41:35)
Check failure on line 0 in test-results/vsix-typescript.json
github-actions / VS Code Test Results (macos-latest, stable, desktop)
out/test/integration/typescript.test.js ► typescript ► runs tests
Failed test found in:
test-results/vsix-typescript.json
Error:
{"hello.test.ts":["enqueued","skipped"]}
Raw output
AssertionError [ERR_ASSERTION]: {"hello.test.ts":["enqueued","skipped"]}
at FakeTestRun.expectStates (out/test/util.js:259:16)
at Context.<anonymous> (out/test/integration/typescript.test.js:50:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)