Skip to content

fix: Pending tests are not shown in Tests list #331

fix: Pending tests are not shown in Tests list

fix: Pending tests are not shown in Tests list #331

GitHub Actions / VS Code Test Results (windows-latest, stable, desktop) succeeded Jan 19, 2025 in 1s

134 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
test-results/normal-config-file-change.json 2✅ 4s
test-results/normal-no-config.json 1✅ 22s
test-results/normal-overlapping-tests.json 9✅ 4s
test-results/normal-package-json.json 4✅ 9s
test-results/normal-simple.json 13✅ 14s
test-results/normal-source-mapped.json 4✅ 2s
test-results/normal-tsnode-checkjs.json 2✅ 3s
test-results/normal-typescript-esm.json 3✅ 5s
test-results/normal-typescript-full.json 3✅ 4s
test-results/normal-typescript-top-level-await.json 1✅ 345ms
test-results/normal-typescript.json 4✅ 5s
test-results/normal-unit.json 19✅ 246ms
test-results/normal-with-hooks.json 2✅ 690ms
test-results/vsix-config-file-change.json 2✅ 5s
test-results/vsix-no-config.json 1✅ 22s
test-results/vsix-overlapping-tests.json 9✅ 3s
test-results/vsix-package-json.json 4✅ 5s
test-results/vsix-simple.json 13✅ 13s
test-results/vsix-source-mapped.json 4✅ 2s
test-results/vsix-tsnode-checkjs.json 2✅ 2s
test-results/vsix-typescript-esm.json 3✅ 4s
test-results/vsix-typescript-full.json 3✅ 4s
test-results/vsix-typescript-top-level-await.json 1✅ 346ms
test-results/vsix-typescript.json 4✅ 4s
test-results/vsix-unit.json 19✅ 195ms
test-results/vsix-with-hooks.json 2✅ 690ms

✅ test-results/normal-config-file-change.json

2 tests were completed in 4s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/config-file-change.test.js 2✅ 3s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/config-file-change.test.js

config-file-change
  ✅ delete-create-flow
  ✅ rename-flow

✅ test-results/normal-no-config.json

1 tests were completed in 22s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/no-config.test.js 1✅ 12s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/no-config.test.js

no-config
  ✅ create-file-flow

✅ test-results/normal-overlapping-tests.json

9 tests were completed in 4s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/overlapping-tests.test.js 9✅ 4s

✅ d:/a/mocha-vscode/mocha-vscode/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/normal-package-json.json

4 tests were completed in 9s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/package-json.test.js 4✅ 6s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/package-json.test.js

package-json
  ✅ debugs tests in a file
  ✅ discovers tests
  ✅ handles changes to package.json
  ✅ runs tests in a file

✅ test-results/normal-simple.json

13 tests were completed in 14s with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/simple.test.js 13✅ 6s

✅ d:/a/mocha-vscode/mocha-vscode/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
  ✅ parses error stacktrace correctly
  ✅ runs subsets of tests
  ✅ runs tests
  ✅ runs tests in a file
  ✅ runs tests in directory

✅ test-results/normal-source-mapped.json

4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/source-mapped.test.js 4✅ 2s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/source-mapped.test.js

source mapped
  ✅ debugs tests
  ✅ discovers tests
  ✅ has correct test locations
  ✅ runs tests

✅ test-results/normal-tsnode-checkjs.json

2 tests were completed in 3s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/tsnode-checkjs.test.js 2✅ 3s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/tsnode-checkjs.test.js

tsnode-checkjs
  ✅ discovers tests
  ✅ runs tests

✅ test-results/normal-typescript-esm.json

3 tests were completed in 5s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript-esm.test.js 3✅ 5s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript-esm.test.js

typescript-esm
  ✅ debugs tests
  ✅ discovers tests
  ✅ runs tests

✅ test-results/normal-typescript-full.json

3 tests were completed in 4s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript-full.test.js 3✅ 4s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript-full.test.js

typescript-full
  ✅ debugs tests
  ✅ discovers tests
  ✅ runs tests

✅ test-results/normal-typescript-top-level-await.json

1 tests were completed in 345ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript-top-level-await.test.js 1✅ 273ms

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript-top-level-await.test.js

typescript top level await
  ✅ discovers tests fails cjs

✅ test-results/normal-typescript.json

4 tests were completed in 5s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript.test.js 4✅ 5s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript.test.js

typescript
  ✅ correct failing test location
  ✅ debugs tests
  ✅ discovers tests
  ✅ runs tests

✅ test-results/normal-unit.json

19 tests were completed in 246ms with 19 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/unit/extract/evaluate-typescript.test.js 5✅ 89ms
d:/a/mocha-vscode/mocha-vscode/out/test/unit/extract/evaluate.test.js 8✅ 14ms
d:/a/mocha-vscode/mocha-vscode/out/test/unit/extract/syntax.test.js 6✅ 20ms

✅ d:/a/mocha-vscode/mocha-vscode/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
  ✅ works with pending test

✅ d:/a/mocha-vscode/mocha-vscode/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 pending suite
  ✅ works with pending test
  ✅ works with skip/only

✅ d:/a/mocha-vscode/mocha-vscode/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 pending suite
  ✅ works with pending test
  ✅ works with skip/only

✅ test-results/normal-with-hooks.json

2 tests were completed in 690ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/with-hooks.test.js 2✅ 611ms

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/with-hooks.test.js

with-hooks
  ✅ discovers tests
  ✅ runs tests

✅ test-results/vsix-config-file-change.json

2 tests were completed in 5s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/config-file-change.test.js 2✅ 4s

✅ d:/a/mocha-vscode/mocha-vscode/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 22s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/no-config.test.js 1✅ 12s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/no-config.test.js

no-config
  ✅ create-file-flow

✅ test-results/vsix-overlapping-tests.json

9 tests were completed in 3s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/overlapping-tests.test.js 9✅ 3s

✅ d:/a/mocha-vscode/mocha-vscode/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-package-json.json

4 tests were completed in 5s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/package-json.test.js 4✅ 3s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/package-json.test.js

package-json
  ✅ debugs tests in a file
  ✅ discovers tests
  ✅ handles changes to package.json
  ✅ runs tests in a file

✅ test-results/vsix-simple.json

13 tests were completed in 13s with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/simple.test.js 13✅ 5s

✅ d:/a/mocha-vscode/mocha-vscode/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
  ✅ parses error stacktrace correctly
  ✅ 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 2s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/source-mapped.test.js 4✅ 2s

✅ d:/a/mocha-vscode/mocha-vscode/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 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/tsnode-checkjs.test.js 2✅ 2s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/tsnode-checkjs.test.js

tsnode-checkjs
  ✅ discovers tests
  ✅ runs tests

✅ test-results/vsix-typescript-esm.json

3 tests were completed in 4s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript-esm.test.js 3✅ 4s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript-esm.test.js

typescript-esm
  ✅ debugs tests
  ✅ discovers tests
  ✅ runs tests

✅ test-results/vsix-typescript-full.json

3 tests were completed in 4s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript-full.test.js 3✅ 4s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript-full.test.js

typescript-full
  ✅ debugs tests
  ✅ discovers tests
  ✅ runs tests

✅ test-results/vsix-typescript-top-level-await.json

1 tests were completed in 346ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript-top-level-await.test.js 1✅ 245ms

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript-top-level-await.test.js

typescript top level await
  ✅ discovers tests fails cjs

✅ test-results/vsix-typescript.json

4 tests were completed in 4s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript.test.js 4✅ 4s

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/typescript.test.js

typescript
  ✅ correct failing test location
  ✅ debugs tests
  ✅ discovers tests
  ✅ runs tests

✅ test-results/vsix-unit.json

19 tests were completed in 195ms with 19 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/unit/extract/evaluate-typescript.test.js 5✅ 60ms
d:/a/mocha-vscode/mocha-vscode/out/test/unit/extract/evaluate.test.js 8✅ 16ms
d:/a/mocha-vscode/mocha-vscode/out/test/unit/extract/syntax.test.js 6✅ 20ms

✅ d:/a/mocha-vscode/mocha-vscode/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
  ✅ works with pending test

✅ d:/a/mocha-vscode/mocha-vscode/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 pending suite
  ✅ works with pending test
  ✅ works with skip/only

✅ d:/a/mocha-vscode/mocha-vscode/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 pending suite
  ✅ works with pending test
  ✅ works with skip/only

✅ test-results/vsix-with-hooks.json

2 tests were completed in 690ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
d:/a/mocha-vscode/mocha-vscode/out/test/integration/with-hooks.test.js 2✅ 610ms

✅ d:/a/mocha-vscode/mocha-vscode/out/test/integration/with-hooks.test.js

with-hooks
  ✅ discovers tests
  ✅ runs tests