Core: Decouple Mocking Logic from Core into Builders #50169
Annotations
4 errors
|
test
Process completed with exit code 1.
|
|
test:
code/core/src/common/js-package-manager/NPMProxy.test.ts#L104
AssertionError: expected "executeCommand" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st executeCommand call:
[
- ObjectContaining {
+ {
"args": [
- "exec",
- "--",
"compodoc",
"-e",
"json",
"-d",
".",
],
- "command": "npm",
+ "command": "npx",
},
]
Number of calls: 1
❯ src/common/js-package-manager/NPMProxy.test.ts:104:35
|
|
test:
code/core/src/common/js-package-manager/NPMProxy.test.ts#L86
AssertionError: expected "executeCommand" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st executeCommand call:
[
- ObjectContaining {
+ {
"args": [
- "exec",
- "--",
"compodoc",
"-e",
"json",
"-d",
".",
],
- "command": "npm",
+ "command": "npx",
},
]
Number of calls: 1
❯ src/common/js-package-manager/NPMProxy.test.ts:86:35
|
|
test:
code/core/src/cli/AddonVitestService.test.ts#L402
TypeError: undefined is not a spy or a call to a spy!
❯ src/cli/AddonVitestService.test.ts:402:52
|
Loading