Migrate from jest to vitest (wip) #323
Annotations
33 errors
tests/src/library.test.js > library > makeLinuxShortcut > Basic instructions:
tests/src/library.test.js#L205
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:205:10
|
tests/src/library.test.js > library > makeLinuxShortcut > Error writing file:
tests/src/library.test.js#L226
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ tests/src/library.test.js:226:10
|
tests/src/library.test.js > library > makeLinuxShortcut > Error setting permissions:
tests/src/library.test.js#L273
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ tests/src/library.test.js:273:10
|
tests/src/library.test.js > library > makeWindowsShortcut > Basic instructions:
tests/src/library.test.js#L324
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/Users/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:324:10
|
tests/src/library.test.js > library > makeWindowsShortcut > Use window mode default:
tests/src/library.test.js#L353
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/Users/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:353:10
|
tests/src/library.test.js > library > makeWindowsShortcut > Icon:
tests/src/library.test.js#L382
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/Users/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:382:10
|
tests/src/library.test.js > library > makeWindowsShortcut > No icon:
tests/src/library.test.js#L412
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/Users/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:412:10
|
tests/src/library.test.js > library > makeWindowsShortcut > Windows arguments:
tests/src/library.test.js#L441
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/Users/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:441:10
|
tests/src/library.test.js > library > makeWindowsShortcut > Windows arguments contains double quotes:
tests/src/library.test.js#L470
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/Users/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:470:10
|
tests/src/library.test.js > library > makeWindowsShortcut > Windows comment contains double quotes:
tests/src/library.test.js#L499
AssertionError: expected last "spawnSync" call to have been called with [ 'wscript', [ …(9) ] ]
- Expected:
Array [
"wscript",
Array [
"/Users/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:499:10
|
tests/src/library.test.js > library > makeLinuxShortcut > Basic instructions:
tests/src/library.test.js#L205
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:205:10
|
tests/src/library.test.js > library > makeLinuxShortcut > Error writing file:
tests/src/library.test.js#L226
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ tests/src/library.test.js:226:10
|
tests/src/library.test.js > library > makeLinuxShortcut > Error setting permissions:
tests/src/library.test.js#L273
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ tests/src/library.test.js:273:10
|
tests/src/library.test.js > library > makeWindowsShortcut > Basic instructions:
tests/src/library.test.js#L324
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:324:10
|
tests/src/library.test.js > library > makeWindowsShortcut > Use window mode default:
tests/src/library.test.js#L353
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:353:10
|
tests/src/library.test.js > library > makeWindowsShortcut > Icon:
tests/src/library.test.js#L382
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:382:10
|
tests/src/library.test.js > library > makeWindowsShortcut > No icon:
tests/src/library.test.js#L412
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:412:10
|
tests/src/library.test.js > library > makeWindowsShortcut > Windows arguments:
tests/src/library.test.js#L441
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:441:10
|
tests/src/library.test.js > library > makeWindowsShortcut > Windows arguments contains double quotes:
tests/src/library.test.js#L470
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:470:10
|
tests/src/library.test.js > library > makeWindowsShortcut > Windows comment contains double quotes:
tests/src/library.test.js#L499
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:499:10
|
build (ubuntu-latest, 8.3.0)
Process completed with exit code 1.
|
build (macos-latest, 8.3.0)
Process completed with exit code 1.
|
tests/src/library.test.js > library > makeLinuxShortcut > Basic instructions:
tests/src/library.test.js#L205
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:205:10
|
tests/src/library.test.js > library > makeLinuxShortcut > Error writing file:
tests/testHelpers.js#L206
Error: Item with the same name already exists: windows.vbs
❯ Directory.addItem node_modules/mock-fs/lib/directory.js:35:11
❯ populate node_modules/mock-fs/lib/filesystem.js:205:15
❯ Function.FileSystem.create node_modules/mock-fs/lib/filesystem.js:236:5
❯ Proxy.mock node_modules/mock-fs/lib/index.js:137:29
❯ mockfs tests/testHelpers.js:206:9
❯ tests/src/library.test.js:28:5
|
tests/src/library.test.js > library > makeLinuxShortcut > Error setting permissions:
tests/testHelpers.js#L206
Error: Item with the same name already exists: windows.vbs
❯ Directory.addItem node_modules/mock-fs/lib/directory.js:35:11
❯ populate node_modules/mock-fs/lib/filesystem.js:205:15
❯ Function.FileSystem.create node_modules/mock-fs/lib/filesystem.js:236:5
❯ Proxy.mock node_modules/mock-fs/lib/index.js:137:29
❯ mockfs tests/testHelpers.js:206:9
❯ tests/src/library.test.js:28:5
|
tests/src/library.test.js > library > makeWindowsShortcut > Basic instructions:
tests/testHelpers.js#L206
Error: Item with the same name already exists: windows.vbs
❯ Directory.addItem node_modules/mock-fs/lib/directory.js:35:11
❯ populate node_modules/mock-fs/lib/filesystem.js:205:15
❯ Function.FileSystem.create node_modules/mock-fs/lib/filesystem.js:236:5
❯ Proxy.mock node_modules/mock-fs/lib/index.js:137:29
❯ mockfs tests/testHelpers.js:206:9
❯ tests/src/library.test.js:28:5
|
tests/src/library.test.js > library > makeWindowsShortcut > Use window mode default:
tests/testHelpers.js#L206
Error: Item with the same name already exists: windows.vbs
❯ Directory.addItem node_modules/mock-fs/lib/directory.js:35:11
❯ populate node_modules/mock-fs/lib/filesystem.js:205:15
❯ Function.FileSystem.create node_modules/mock-fs/lib/filesystem.js:236:5
❯ Proxy.mock node_modules/mock-fs/lib/index.js:137:29
❯ mockfs tests/testHelpers.js:206:9
❯ tests/src/library.test.js:28:5
|
tests/src/library.test.js > library > makeWindowsShortcut > Icon:
tests/testHelpers.js#L206
Error: Item with the same name already exists: windows.vbs
❯ Directory.addItem node_modules/mock-fs/lib/directory.js:35:11
❯ populate node_modules/mock-fs/lib/filesystem.js:205:15
❯ Function.FileSystem.create node_modules/mock-fs/lib/filesystem.js:236:5
❯ Proxy.mock node_modules/mock-fs/lib/index.js:137:29
❯ mockfs tests/testHelpers.js:206:9
❯ tests/src/library.test.js:28:5
|
tests/src/library.test.js > library > makeWindowsShortcut > No icon:
tests/testHelpers.js#L206
Error: Item with the same name already exists: windows.vbs
❯ Directory.addItem node_modules/mock-fs/lib/directory.js:35:11
❯ populate node_modules/mock-fs/lib/filesystem.js:205:15
❯ Function.FileSystem.create node_modules/mock-fs/lib/filesystem.js:236:5
❯ Proxy.mock node_modules/mock-fs/lib/index.js:137:29
❯ mockfs tests/testHelpers.js:206:9
❯ tests/src/library.test.js:28:5
|
tests/src/library.test.js > library > makeWindowsShortcut > Windows arguments:
tests/testHelpers.js#L206
Error: Item with the same name already exists: windows.vbs
❯ Directory.addItem node_modules/mock-fs/lib/directory.js:35:11
❯ populate node_modules/mock-fs/lib/filesystem.js:205:15
❯ Function.FileSystem.create node_modules/mock-fs/lib/filesystem.js:236:5
❯ Proxy.mock node_modules/mock-fs/lib/index.js:137:29
❯ mockfs tests/testHelpers.js:206:9
❯ tests/src/library.test.js:28:5
|
tests/src/library.test.js > library > makeWindowsShortcut > Windows arguments contains double quotes:
tests/testHelpers.js#L206
Error: Item with the same name already exists: windows.vbs
❯ Directory.addItem node_modules/mock-fs/lib/directory.js:35:11
❯ populate node_modules/mock-fs/lib/filesystem.js:205:15
❯ Function.FileSystem.create node_modules/mock-fs/lib/filesystem.js:236:5
❯ Proxy.mock node_modules/mock-fs/lib/index.js:137:29
❯ mockfs tests/testHelpers.js:206:9
❯ tests/src/library.test.js:28:5
|
tests/src/library.test.js > library > makeWindowsShortcut > Windows comment contains double quotes:
tests/testHelpers.js#L206
Error: Item with the same name already exists: windows.vbs
❯ Directory.addItem node_modules/mock-fs/lib/directory.js:35:11
❯ populate node_modules/mock-fs/lib/filesystem.js:205:15
❯ Function.FileSystem.create node_modules/mock-fs/lib/filesystem.js:236:5
❯ Proxy.mock node_modules/mock-fs/lib/index.js:137:29
❯ mockfs tests/testHelpers.js:206:9
❯ tests/src/library.test.js:28:5
|
build (windows-latest, 8.3.0)
Process completed with exit code 1.
|