Skip to content

feat: handle user tsconfig #29

feat: handle user tsconfig

feat: handle user tsconfig #29

GitHub Actions / VS Code Test Results (macos-latest, stable, desktop) failed Apr 2, 2024 in 1s

5 passed, 9 failed and 0 skipped

Tests failed

❌ test-results/unit.json

14 tests were completed in 189ms with 5 passed, 9 failed and 0 skipped.

Test suite Passed Failed Skipped Time
out/test/unit/extract/evaluate-typescript.test.js 4✅ 40ms
out/test/unit/extract/evaluate.test.js 1✅ 5❌ 23ms
out/test/unit/extract/syntax.test.js 4❌ 34ms

✅ out/test/unit/extract/evaluate-typescript.test.js

evaluate typescript
  ✅ extracts basic suite
  ✅ extracts basic suite ts syntax
  ✅ extracts multiple suite
  ✅ extracts top level await

❌ out/test/unit/extract/evaluate.test.js

evaluate
  ❌ can evaluate and extract a test table
	expected [ { name: 'hello', kind: +0, …(5) } ] to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
  ❌ extracts basic suite
	expected [ { name: 'hello', kind: +0, …(5) } ] to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
  ❌ handles errors appropriately
	expected [ { name: 'hello', kind: +0, …(6) } ] to deeply equal [ { name: 'hello', kind: +0, …(6) } ]
  ❌ runs esbuild-style modules
	expected [ { name: 'hello', kind: +0, …(5) } ] to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
  ✅ stubs out requires and placeholds correctly
  ❌ works with skip/only
	expected [ { name: 'hello', kind: +0, …(5) } ] to deeply equal [ { name: 'hello', kind: +0, …(5) } ]

❌ out/test/unit/extract/syntax.test.js

syntax
  ❌ can detect suite but not dynamic tests
	expected Promise{…} to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
  ❌ extracts basic suite
	expected Promise{…} to deeply equal [ { name: 'hello', …(6) } ]
  ❌ stubs out requires and placeholds correctly
	expected Promise{…} to deeply equal []
  ❌ works with skip/only
	expected Promise{…} to deeply equal [ { name: 'hello', kind: +0, …(5) } ]

Annotations

Check failure on line 0 in test-results/unit.json

See this annotation in the file changed.

@github-actions github-actions / VS Code Test Results (macos-latest, stable, desktop)

out/test/unit/extract/evaluate.test.js ► evaluate ► can evaluate and extract a test table

Failed test found in:
  test-results/unit.json
Error:
  expected [ { name: 'hello', kind: +0, …(5) } ] to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
Raw output
AssertionError: expected [ { name: 'hello', kind: +0, …(5) } ] to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
	at Context.<anonymous> (out/test/unit/extract/evaluate.test.js:49:41)

Check failure on line 0 in test-results/unit.json

See this annotation in the file changed.

@github-actions github-actions / VS Code Test Results (macos-latest, stable, desktop)

out/test/unit/extract/evaluate.test.js ► evaluate ► extracts basic suite

Failed test found in:
  test-results/unit.json
Error:
  expected [ { name: 'hello', kind: +0, …(5) } ] to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
Raw output
AssertionError: expected [ { name: 'hello', kind: +0, …(5) } ] to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
	at Context.<anonymous> (out/test/unit/extract/evaluate.test.js:24:41)

Check failure on line 0 in test-results/unit.json

See this annotation in the file changed.

@github-actions github-actions / VS Code Test Results (macos-latest, stable, desktop)

out/test/unit/extract/evaluate.test.js ► evaluate ► handles errors appropriately

Failed test found in:
  test-results/unit.json
Error:
  expected [ { name: 'hello', kind: +0, …(6) } ] to deeply equal [ { name: 'hello', kind: +0, …(6) } ]
Raw output
AssertionError: expected [ { name: 'hello', kind: +0, …(6) } ] to deeply equal [ { name: 'hello', kind: +0, …(6) } ]
	at Context.<anonymous> (out/test/unit/extract/evaluate.test.js:92:41)

Check failure on line 0 in test-results/unit.json

See this annotation in the file changed.

@github-actions github-actions / VS Code Test Results (macos-latest, stable, desktop)

out/test/unit/extract/evaluate.test.js ► evaluate ► runs esbuild-style modules

Failed test found in:
  test-results/unit.json
Error:
  expected [ { name: 'hello', kind: +0, …(5) } ] to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
Raw output
AssertionError: expected [ { name: 'hello', kind: +0, …(5) } ] to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
	at Context.<anonymous> (out/test/unit/extract/evaluate.test.js:147:41)

Check failure on line 0 in test-results/unit.json

See this annotation in the file changed.

@github-actions github-actions / VS Code Test Results (macos-latest, stable, desktop)

out/test/unit/extract/evaluate.test.js ► evaluate ► works with skip/only

Failed test found in:
  test-results/unit.json
Error:
  expected [ { name: 'hello', kind: +0, …(5) } ] to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
Raw output
AssertionError: expected [ { name: 'hello', kind: +0, …(5) } ] to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
	at Context.<anonymous> (out/test/unit/extract/evaluate.test.js:108:41)

Check failure on line 0 in test-results/unit.json

See this annotation in the file changed.

@github-actions github-actions / VS Code Test Results (macos-latest, stable, desktop)

out/test/unit/extract/syntax.test.js ► syntax ► can detect suite but not dynamic tests

Failed test found in:
  test-results/unit.json
Error:
  expected Promise{…} to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
Raw output
AssertionError: expected Promise{…} to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
	at Context.<anonymous> (out/test/unit/extract/syntax.test.js:85:41)
	at process.processImmediate (node:internal/timers:476:21)

Check failure on line 0 in test-results/unit.json

See this annotation in the file changed.

@github-actions github-actions / VS Code Test Results (macos-latest, stable, desktop)

out/test/unit/extract/syntax.test.js ► syntax ► extracts basic suite

Failed test found in:
  test-results/unit.json
Error:
  expected Promise{…} to deeply equal [ { name: 'hello', …(6) } ]
Raw output
AssertionError: expected Promise{…} to deeply equal [ { name: 'hello', …(6) } ]
	at Context.<anonymous> (out/test/unit/extract/syntax.test.js:24:41)
	at process.processImmediate (node:internal/timers:476:21)

Check failure on line 0 in test-results/unit.json

See this annotation in the file changed.

@github-actions github-actions / VS Code Test Results (macos-latest, stable, desktop)

out/test/unit/extract/syntax.test.js ► syntax ► stubs out requires and placeholds correctly

Failed test found in:
  test-results/unit.json
Error:
  expected Promise{…} to deeply equal []
Raw output
AssertionError: expected Promise{…} to deeply equal []
	at Context.<anonymous> (out/test/unit/extract/syntax.test.js:99:41)
	at process.processImmediate (node:internal/timers:476:21)

Check failure on line 0 in test-results/unit.json

See this annotation in the file changed.

@github-actions github-actions / VS Code Test Results (macos-latest, stable, desktop)

out/test/unit/extract/syntax.test.js ► syntax ► works with skip/only

Failed test found in:
  test-results/unit.json
Error:
  expected Promise{…} to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
Raw output
AssertionError: expected Promise{…} to deeply equal [ { name: 'hello', kind: +0, …(5) } ]
	at Context.<anonymous> (out/test/unit/extract/syntax.test.js:49:41)
	at process.processImmediate (node:internal/timers:476:21)