Skip to content

Migrate from jest to vitest (wip) #316

Migrate from jest to vitest (wip)

Migrate from jest to vitest (wip) #316

Triggered via pull request June 23, 2024 04:25
@ayushmanchhabraayushmanchhabra
synchronize #92
dev-82
Status Cancelled
Total duration 1h 31m 59s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

25 errors
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/index.test.js > createDesktopShortcut > Empty options: tests/index.test.js#L18
AssertionError: expected last "spy" call to have been called with [ …(2) ] - Expected + Received Array [ "No shortcuts were created due to lack of accurate details passed in to options object", Object { "customLogger": [Function spy], + "onlyCurrentOS": true, + "verbose": true, }, ] ❯ tests/index.test.js:18:8
tests/src/helpers.test.js > helpers > resolveTilde > ~: tests/src/helpers.test.js#L81
AssertionError: expected '/home/runner' to deeply equal '/home/DUMMY' - Expected + Received - /home/DUMMY + /home/runner ❯ tests/src/helpers.test.js:81:10
tests/src/helpers.test.js > helpers > resolveTilde > ~/: tests/src/helpers.test.js#L86
AssertionError: expected '/home/runner/' to deeply equal '/home/DUMMY/' - Expected + Received - /home/DUMMY/ + /home/runner/ ❯ tests/src/helpers.test.js:86:10
tests/src/helpers.test.js > helpers > resolveTilde > ~/folder: tests/src/helpers.test.js#L91
AssertionError: expected '/home/runner/folder' to deeply equal '/home/DUMMY/folder' - Expected + Received - /home/DUMMY/folder + /home/runner/folder ❯ tests/src/helpers.test.js:91:10
tests/src/library.test.js > library > makeLinuxShortcut > Basic instructions: tests/src/library.test.js#L197
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ tests/src/library.test.js:197:10
tests/src/library.test.js > library > makeLinuxShortcut > Error writing file: tests/src/library.test.js#L230
AssertionError: expected true to deeply equal false - Expected + Received - false + true ❯ tests/src/library.test.js:230:10
tests/src/library.test.js > library > makeLinuxShortcut > Error setting permissions: tests/src/library.test.js#L277
AssertionError: expected true to deeply equal false - Expected + Received - false + true ❯ tests/src/library.test.js:277:10
tests/src/library.test.js > library > makeWindowsShortcut > Basic instructions: tests/src/library.test.js#L328
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:328:10
tests/src/library.test.js > library > makeWindowsShortcut > Use window mode default: tests/src/library.test.js#L357
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:357:10
tests/src/library.test.js > library > makeWindowsShortcut > Icon: tests/src/library.test.js#L386
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:386:10
tests/index.test.js > createDesktopShortcut > Empty options: tests/index.test.js#L18
AssertionError: expected last "spy" call to have been called with [ …(2) ] - Expected + Received Array [ "No shortcuts were created due to lack of accurate details passed in to options object", Object { "customLogger": [Function spy], + "onlyCurrentOS": true, + "verbose": true, }, ] ❯ tests/index.test.js:18:8
tests/src/helpers.test.js > helpers > resolveTilde > ~: tests/src/helpers.test.js#L81
AssertionError: expected '/Users/runner' to deeply equal '/home/DUMMY' - Expected + Received - /home/DUMMY + /Users/runner ❯ tests/src/helpers.test.js:81:10
tests/src/helpers.test.js > helpers > resolveTilde > ~/: tests/src/helpers.test.js#L86
AssertionError: expected '/Users/runner/' to deeply equal '/home/DUMMY/' - Expected + Received - /home/DUMMY/ + /Users/runner/ ❯ tests/src/helpers.test.js:86:10
tests/src/helpers.test.js > helpers > resolveTilde > ~/folder: tests/src/helpers.test.js#L91
AssertionError: expected '/Users/runner/folder' to deeply equal '/home/DUMMY/folder' - Expected + Received - /home/DUMMY/folder + /Users/runner/folder ❯ tests/src/helpers.test.js:91:10
tests/src/library.test.js > library > makeLinuxShortcut > Basic instructions: tests/src/library.test.js#L197
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ tests/src/library.test.js:197:10
tests/src/library.test.js > library > makeLinuxShortcut > Error writing file: tests/src/library.test.js#L230
AssertionError: expected true to deeply equal false - Expected + Received - false + true ❯ tests/src/library.test.js:230:10
tests/src/library.test.js > library > makeLinuxShortcut > Error setting permissions: tests/src/library.test.js#L277
AssertionError: expected true to deeply equal false - Expected + Received - false + true ❯ tests/src/library.test.js:277:10
tests/src/library.test.js > library > makeWindowsShortcut > Basic instructions: tests/src/library.test.js#L328
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:328:10
tests/src/library.test.js > library > makeWindowsShortcut > Use window mode default: tests/src/library.test.js#L357
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:357:10
tests/src/library.test.js > library > makeWindowsShortcut > Icon: tests/src/library.test.js#L386
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:386:10
build (windows-latest, 8.3.0)
Process completed with exit code 1.
build (windows-latest, 18.x)
Canceling since a higher priority waiting request for 'refs/pull/92/merge' exists
build (windows-latest, 18.x)
The operation was canceled.