Next Release #359
Annotations
5 errors
app/server/__tests__/execute.server.test.ts > execute.server > executeApplication > executeApplicationOnWindows > Should execute the entry with the defined application of the category:
app/server/execute.server.ts#L257
{
stack: 'Error: \n' +
' at Module.startGame (/home/runner/work/emuze/emuze/app/server/execute.server.ts:257:15)\n' +
' at /home/runner/work/emuze/emuze/app/server/__tests__/execute.server.test.ts:66:9\n' +
' at file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:146:14\n' +
' at file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:529:11\n' +
' at runWithTimeout (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:61:7)\n' +
' at runTest (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:982:17)\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at runSuite (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:1131:15)\n' +
' at runSuite (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:1131:15)\n' +
' at runSuite (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:1131:15)',
stackStr: 'Error: \n' +
' at Module.startGame (/home/runner/work/emuze/emuze/app/server/execute.server.ts:257:15)\n' +
' at /home/runner/work/emuze/emuze/app/server/__tests__/execute.server.test.ts:66:9\n' +
' at file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:146:14\n' +
' at file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:529:11\n' +
' at runWithTimeout (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:61:7)\n' +
' at runTest (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:982:17)\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at runSuite (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:1131:15)\n' +
' at runSuite (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:1131:15)\n' +
' at runSuite (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:1131:15)',
nameStr: 'Error',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>',
stacks: [
{
method: 'Module.startGame',
file: '/home/runner/work/emuze/emuze/app/server/execute.server.ts',
line: 257,
column: 15
},
{
method: '',
file: '/home/runner/work/emuze/emuze/app/server/__tests__/execute.server.test.ts',
line: 66,
column: 9
}
]
}
❯ Module.startGame app/server/execute.server.ts:257:15
❯ app/server/__tests__/execute.server.test.ts:66:9
|
app/server/__tests__/execute.server.test.ts > execute.server > executeApplication > executeApplicationOnWindows > Should add environment varables:
app/server/execute.server.ts#L257
{
stack: 'Error: \n' +
' at Module.startGame (/home/runner/work/emuze/emuze/app/server/execute.server.ts:257:15)\n' +
' at /home/runner/work/emuze/emuze/app/server/__tests__/execute.server.test.ts:110:9\n' +
' at file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:146:14\n' +
' at file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:529:11\n' +
' at runWithTimeout (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:61:7)\n' +
' at runTest (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:982:17)\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at runSuite (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:1131:15)\n' +
' at runSuite (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:1131:15)\n' +
' at runSuite (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:1131:15)',
stackStr: 'Error: \n' +
' at Module.startGame (/home/runner/work/emuze/emuze/app/server/execute.server.ts:257:15)\n' +
' at /home/runner/work/emuze/emuze/app/server/__tests__/execute.server.test.ts:110:9\n' +
' at file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:146:14\n' +
' at file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:529:11\n' +
' at runWithTimeout (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:61:7)\n' +
' at runTest (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:982:17)\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at runSuite (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:1131:15)\n' +
' at runSuite (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:1131:15)\n' +
' at runSuite (file:///home/runner/work/emuze/emuze/node_modules/@vitest/runner/dist/index.js:1131:15)',
nameStr: 'Error',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>',
stacks: [
{
method: 'Module.startGame',
file: '/home/runner/work/emuze/emuze/app/server/execute.server.ts',
line: 257,
column: 15
},
{
method: '',
file: '/home/runner/work/emuze/emuze/app/server/__tests__/execute.server.test.ts',
line: 110,
column: 9
}
]
}
❯ Module.startGame app/server/execute.server.ts:257:15
❯ app/server/__tests__/execute.server.test.ts:110:9
|
app/server/__tests__/execute.server.test.ts > execute.server > executeApplication > executeApplicationOnLinux > Should execute the entry with the defined application of the category:
app/server/__tests__/execute.server.test.ts#L157
AssertionError: expected "execFileSync" to be called with arguments: [ 'flatpak', [ 'run', …(4) ], …(1) ]
Received:
1st execFileSync call:
Array [
"flatpak",
Array [
"run",
- "--filesystem=F:/games/Emulation/roms",
"--command=mednafen",
"com.github.AmatCoder.mednaffe",
- "F:/games/Emulation/roms/PC Engine CD/Cotton.cue",
+ "wrong",
],
Object {
"encoding": "utf8",
},
]
2nd execFileSync call:
Array [
"flatpak",
Array [
- "run",
- "--filesystem=F:/games/Emulation/roms",
- "--command=mednafen",
- "com.github.AmatCoder.mednaffe",
- "F:/games/Emulation/roms/PC Engine CD/Cotton.cue",
+ "list",
+ "--app",
],
Object {
"encoding": "utf8",
},
]
3rd execFileSync call:
Array [
"flatpak",
Array [
"run",
"--filesystem=F:/games/Emulation/roms",
"--command=mednafen",
"com.github.AmatCoder.mednaffe",
+ "-command.save_state",
+ "keyboard 0x0 62",
+ "-command.load_state",
+ "keyboard 0x0 64",
"F:/games/Emulation/roms/PC Engine CD/Cotton.cue",
],
Object {
"encoding": "utf8",
},
]
Number of calls: 3
❯ app/server/__tests__/execute.server.test.ts:157:30
|
app/server/__tests__/execute.server.test.ts > execute.server > executeApplication > executeApplicationOnLinux > Should not execute if emulator is not installed:
app/server/__tests__/execute.server.test.ts#L217
AssertionError: expected "execFileSync" to be called 2 times, but got 3 times
❯ app/server/__tests__/execute.server.test.ts:217:30
|
lint
Process completed with exit code 1.
|