Skip to content

Updated VSCode launch config to fix test execution issues. #199

Updated VSCode launch config to fix test execution issues.

Updated VSCode launch config to fix test execution issues. #199

GitHub Actions / Unit Test Results failed Oct 15, 2024 in 0s

3 fail, 33 pass in 2m 55s

  3 files  ±0   24 suites  ±0   2m 55s ⏱️ +26s
 36 tests ±0   33 ✅ ±0  0 💤 ±0  3 ❌ ±0 
108 runs  ±0  105 ✅ ±0  0 💤 ±0  3 ❌ ±0 

Results for commit e7d8cfd. ± Comparison against earlier commit c0075c7.

Annotations

Check warning on line 0 in Utils isChildOf should return true if child URI is a child of parent URI

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

1 out of 3 runs failed: Utils isChildOf should return true if child URI is a child of parent URI (Utils isChildOf should return true if child URI is a child of parent URI)

unit-test-results/Windows-unit-test-results-9c593dc0-8b30-11ef-b1ef-09d3cf264e3a.xml [took 0s]
Raw output
Error: expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false
    at Object.<anonymous> (D:\a\crossmodel\crossmodel\extensions\crossmodel-lang\test\language-server\util\uri-util.test.ts:15:55)
    at Promise.then.completed (D:\a\crossmodel\crossmodel\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\crossmodel\crossmodel\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\crossmodel\crossmodel\node_modules\jest-circus\build\run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (D:\a\crossmodel\crossmodel\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\crossmodel\crossmodel\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\crossmodel\crossmodel\node_modules\jest-circus\build\run.js:121:9)
    at _runTestsForDescribeBlock (D:\a\crossmodel\crossmodel\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\crossmodel\crossmodel\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\crossmodel\crossmodel\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\crossmodel\crossmodel\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\crossmodel\crossmodel\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\crossmodel\crossmodel\node_modules\jest-runner\build\runTest.js:444:34)
    at Object.worker (D:\a\crossmodel\crossmodel\node_modules\jest-runner\build\testWorker.js:106:12)

Check warning on line 0 in CrossModelCompletionProvider Completion for entity references in project A

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

1 out of 3 runs failed: CrossModelCompletionProvider Completion for entity references in project A (CrossModelCompletionProvider Completion for entity references in project A)

unit-test-results/Windows-unit-test-results-9c593dc0-8b30-11ef-b1ef-09d3cf264e3a.xml [took 0s]
Raw output
assert.deepStrictEqual(received, expected)

Expected value to deeply and strictly equal to:
  ["Address", "Order"]
Received:
  ["Address", "Customer", "Order"]

Message:
  Expected 2 but received 3 completion items

Difference:

- Expected
+ Received

  Array [
    "Address",
+   "Customer",
    "Order",
  ]
    at expectedFunction (D:\a\crossmodel\crossmodel\node_modules\langium\src\test\langium-test.ts:53:12)
    at D:\a\crossmodel\crossmodel\node_modules\langium\src\test\langium-test.ts:318:17
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.<anonymous> (D:\a\crossmodel\crossmodel\extensions\crossmodel-lang\test\language-server\cross-model-completion-provider.test.ts:43:7)

Check warning on line 0 in CrossModelCompletionProvider Completion for entity references in project B

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

1 out of 3 runs failed: CrossModelCompletionProvider Completion for entity references in project B (CrossModelCompletionProvider Completion for entity references in project B)

unit-test-results/Windows-unit-test-results-9c593dc0-8b30-11ef-b1ef-09d3cf264e3a.xml [took 0s]
Raw output
assert.deepStrictEqual(received, expected)

Expected value to deeply and strictly equal to:
  "Customer"
Received:
  "Address"

Difference:

- Expected
+ Received

- Customer
+ Address
    at expectedFunction (D:\a\crossmodel\crossmodel\node_modules\langium\src\test\langium-test.ts:53:12)
    at D:\a\crossmodel\crossmodel\node_modules\langium\src\test\langium-test.ts:311:25
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.<anonymous> (D:\a\crossmodel\crossmodel\extensions\crossmodel-lang\test\language-server\cross-model-completion-provider.test.ts:53:7)