Migrate from jest to vitest (wip) #328
Annotations
10 errors
tests/src/library.test.js#L208
AssertionError: expected last "chmodSync" call to have been called with [ …(2) ]
- Expected:
Array [
"/home/DUMMY/Desktop/file.desktop",
"755",
]
+ Received:
undefined
❯ tests/src/library.test.js:208:10
|
tests/src/library.test.js#L229
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ tests/src/library.test.js:229:10
|
tests/src/library.test.js#L276
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ tests/src/library.test.js:276:10
|
tests/src/library.test.js#L327
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/home/runner/work/create-desktop-shortcuts/create-desktop-shortcuts/src/windows.vbs",
"C:/Users/DUMMY/Desktop/file.lnk",
"C:/file.ext",
"",
"",
"",
"C:/file.ext",
1,
"",
],
]
+ Received:
undefined
❯ tests/src/library.test.js:327:10
|
tests/src/library.test.js#L356
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/home/runner/work/create-desktop-shortcuts/create-desktop-shortcuts/src/windows.vbs",
"C:/Users/DUMMY/Desktop/file.lnk",
"C:/file.ext",
"",
"",
"",
"C:/file.ext",
1,
"",
],
]
+ Received:
undefined
❯ tests/src/library.test.js:356:10
|
tests/src/library.test.js#L385
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/home/runner/work/create-desktop-shortcuts/create-desktop-shortcuts/src/windows.vbs",
"C:/Users/DUMMY/Desktop/file.lnk",
"C:/file.ext",
"",
"",
"",
"C:/Users/DUMMY/icon.ico",
1,
"",
],
]
+ Received:
undefined
❯ tests/src/library.test.js:385:10
|
tests/src/library.test.js#L415
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/home/runner/work/create-desktop-shortcuts/create-desktop-shortcuts/src/windows.vbs",
"C:/Users/DUMMY/Desktop/file.lnk",
"C:/Users/DUMMY/icon.dll",
"",
"",
"",
"C:/Users/DUMMY/icon.dll,0",
1,
"",
],
]
+ Received:
undefined
❯ tests/src/library.test.js:415:10
|
tests/src/library.test.js#L444
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/home/runner/work/create-desktop-shortcuts/create-desktop-shortcuts/src/windows.vbs",
"C:/Users/DUMMY/Desktop/file.lnk",
"C:/file.ext",
"--force",
"",
"",
"C:/file.ext",
1,
"",
],
]
+ Received:
undefined
❯ tests/src/library.test.js:444:10
|
tests/src/library.test.js#L473
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/home/runner/work/create-desktop-shortcuts/create-desktop-shortcuts/src/windows.vbs",
"C:/Users/DUMMY/Desktop/file.lnk",
"C:/file.ext",
"-m __DOUBLEQUOTE__Some text__DOUBLEQUOTE__",
"",
"",
"C:/file.ext",
1,
"",
],
]
+ Received:
undefined
❯ tests/src/library.test.js:473:10
|
tests/src/library.test.js#L502
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/home/runner/work/create-desktop-shortcuts/create-desktop-shortcuts/src/windows.vbs",
"C:/Users/DUMMY/Desktop/file.lnk",
"C:/file.ext",
"",
"Look at what __DOUBLEQUOTE__I__DOUBLEQUOTE__ made.",
"",
"C:/file.ext",
1,
"",
],
]
+ Received:
undefined
❯ tests/src/library.test.js:502:10
|
This job failed
Loading