Skip to content

Migrate from jest to vitest (wip) #318

Migrate from jest to vitest (wip)

Migrate from jest to vitest (wip) #318

Triggered via pull request June 23, 2024 06:00
@ayushmanchhabraayushmanchhabra
synchronize #92
dev-82
Status Cancelled
Total duration 8m 12s
Artifacts

node.js.yml

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

Annotations

25 errors
tests/src/helpers.test.js > helpers > resolveTilde > ~: tests/src/helpers.test.js#L77
AssertionError: expected '/home/runner' to deeply equal '/home/DUMMY' - Expected + Received - /home/DUMMY + /home/runner ❯ tests/src/helpers.test.js:77:10
tests/src/helpers.test.js > helpers > resolveTilde > ~/: tests/src/helpers.test.js#L82
AssertionError: expected '/home/runner/' to deeply equal '/home/DUMMY/' - Expected + Received - /home/DUMMY/ + /home/runner/ ❯ tests/src/helpers.test.js:82:10
tests/src/helpers.test.js > helpers > resolveTilde > ~/folder: tests/src/helpers.test.js#L87
AssertionError: expected '/home/runner/folder' to deeply equal '/home/DUMMY/folder' - Expected + Received - /home/DUMMY/folder + /home/runner/folder ❯ tests/src/helpers.test.js:87:10
tests/src/library.test.js > library > makeLinuxShortcut > Basic instructions: tests/src/library.test.js#L195
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ tests/src/library.test.js:195:10
tests/src/library.test.js > library > makeLinuxShortcut > Error writing file: tests/src/library.test.js#L228
AssertionError: expected true to deeply equal false - Expected + Received - false + true ❯ tests/src/library.test.js:228:10
tests/src/library.test.js > library > makeLinuxShortcut > Error setting permissions: tests/src/library.test.js#L275
AssertionError: expected true to deeply equal false - Expected + Received - false + true ❯ tests/src/library.test.js:275:10
tests/src/library.test.js > library > makeWindowsShortcut > Basic instructions: tests/src/library.test.js#L326
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:326:10
tests/src/library.test.js > library > makeWindowsShortcut > Use window mode default: tests/src/library.test.js#L355
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:355:10
tests/src/library.test.js > library > makeWindowsShortcut > Icon: tests/src/library.test.js#L384
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:384:10
tests/src/library.test.js > library > makeWindowsShortcut > No icon: tests/src/library.test.js#L414
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:414:10
tests/src/helpers.test.js > helpers > resolveTilde > ~: tests/src/helpers.test.js#L77
AssertionError: expected '/Users/runner' to deeply equal '/home/DUMMY' - Expected + Received - /home/DUMMY + /Users/runner ❯ tests/src/helpers.test.js:77:10
tests/src/helpers.test.js > helpers > resolveTilde > ~/: tests/src/helpers.test.js#L82
AssertionError: expected '/Users/runner/' to deeply equal '/home/DUMMY/' - Expected + Received - /home/DUMMY/ + /Users/runner/ ❯ tests/src/helpers.test.js:82:10
tests/src/helpers.test.js > helpers > resolveTilde > ~/folder: tests/src/helpers.test.js#L87
AssertionError: expected '/Users/runner/folder' to deeply equal '/home/DUMMY/folder' - Expected + Received - /home/DUMMY/folder + /Users/runner/folder ❯ tests/src/helpers.test.js:87:10
tests/src/library.test.js > library > makeLinuxShortcut > Basic instructions: tests/src/library.test.js#L195
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ tests/src/library.test.js:195:10
tests/src/library.test.js > library > makeLinuxShortcut > Error writing file: tests/src/library.test.js#L228
AssertionError: expected true to deeply equal false - Expected + Received - false + true ❯ tests/src/library.test.js:228:10
tests/src/library.test.js > library > makeLinuxShortcut > Error setting permissions: tests/src/library.test.js#L275
AssertionError: expected true to deeply equal false - Expected + Received - false + true ❯ tests/src/library.test.js:275:10
tests/src/library.test.js > library > makeWindowsShortcut > Basic instructions: tests/src/library.test.js#L326
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:326:10
tests/src/library.test.js > library > makeWindowsShortcut > Use window mode default: tests/src/library.test.js#L355
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:355:10
tests/src/library.test.js > library > makeWindowsShortcut > Icon: tests/src/library.test.js#L384
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:384:10
tests/src/library.test.js > library > makeWindowsShortcut > No icon: tests/src/library.test.js#L414
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:414: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.
build (windows-latest, 8.3.0)
Process completed with exit code 1.
build (windows-latest, 18.x)
The run was canceled by @ayushmanchhabra.
build (windows-latest, 18.x)
The operation was canceled.