Skip to content

feat!: modernize

feat!: modernize #1

Triggered via pull request May 4, 2024 21:44
@spionspion
synchronize #117
feat/modernize
Status Failure
Total duration 19s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
error: expect(received).toBeFalsy(): tests/basic.spec.ts#L21
Received: 97 | 98 | let pkgPath = path.resolve(__dirname, '..') 99 | let binPath = require('../package.json').bin.wsrun 100 | let wsrunPath = path.resolve(pkgPath, binPath) 101 | 102 | export async function wsrun(cmd: string | string[], env: { [key: string]: string } = {}) { ^ error: /usr/bin/env: 'node': No such file or directory errno: -1 code: "127" syscall: "spawnSync" path: "/home/runner/work/wsrun/wsrun/bin/wsrun.mjs" at new SystemError (node:child_process:880:27) at node:child_process:172:47 at wsrun (/home/runner/work/wsrun/wsrun/tests/test.util.ts:102:29) at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:20:25 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:19:7 at /home/runner/work/wsrun/wsrun/tests/test.util.ts:68:18 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:21:9
error: expect(received).toBeFalsy(): tests/basic.spec.ts#L36
Received: 97 | 98 | let pkgPath = path.resolve(__dirname, '..') 99 | let binPath = require('../package.json').bin.wsrun 100 | let wsrunPath = path.resolve(pkgPath, binPath) 101 | 102 | export async function wsrun(cmd: string | string[], env: { [key: string]: string } = {}) { ^ error: /usr/bin/env: 'node': No such file or directory errno: -1 code: "127" syscall: "spawnSync" path: "/home/runner/work/wsrun/wsrun/bin/wsrun.mjs" at new SystemError (node:child_process:880:27) at node:child_process:172:47 at wsrun (/home/runner/work/wsrun/wsrun/tests/test.util.ts:102:29) at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:35:25 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:33:7 at /home/runner/work/wsrun/wsrun/tests/test.util.ts:68:18 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:36:9
error: expect(received).toBeFalsy(): tests/basic.spec.ts#L57
Received: 97 | 98 | let pkgPath = path.resolve(__dirname, '..') 99 | let binPath = require('../package.json').bin.wsrun 100 | let wsrunPath = path.resolve(pkgPath, binPath) 101 | 102 | export async function wsrun(cmd: string | string[], env: { [key: string]: string } = {}) { ^ error: /usr/bin/env: 'node': No such file or directory errno: -1 code: "127" syscall: "spawnSync" path: "/home/runner/work/wsrun/wsrun/bin/wsrun.mjs" at new SystemError (node:child_process:880:27) at node:child_process:172:47 at wsrun (/home/runner/work/wsrun/wsrun/tests/test.util.ts:102:29) at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:56:25 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:55:7 at /home/runner/work/wsrun/wsrun/tests/test.util.ts:68:18 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:57:9
error: expect(received).toBeFalsy(): tests/basic.spec.ts#L71
Received: 97 | 98 | let pkgPath = path.resolve(__dirname, '..') 99 | let binPath = require('../package.json').bin.wsrun 100 | let wsrunPath = path.resolve(pkgPath, binPath) 101 | 102 | export async function wsrun(cmd: string | string[], env: { [key: string]: string } = {}) { ^ error: /usr/bin/env: 'node': No such file or directory errno: -1 code: "127" syscall: "spawnSync" path: "/home/runner/work/wsrun/wsrun/bin/wsrun.mjs" at new SystemError (node:child_process:880:27) at node:child_process:172:47 at wsrun (/home/runner/work/wsrun/wsrun/tests/test.util.ts:102:29) at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:70:25 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:69:7 at /home/runner/work/wsrun/wsrun/tests/test.util.ts:68:18 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:71:9
error: expect(received).toBeFalsy(): tests/basic.spec.ts#L87
Received: 97 | 98 | let pkgPath = path.resolve(__dirname, '..') 99 | let binPath = require('../package.json').bin.wsrun 100 | let wsrunPath = path.resolve(pkgPath, binPath) 101 | 102 | export async function wsrun(cmd: string | string[], env: { [key: string]: string } = {}) { ^ error: /usr/bin/env: 'node': No such file or directory errno: -1 code: "127" syscall: "spawnSync" path: "/home/runner/work/wsrun/wsrun/bin/wsrun.mjs" at new SystemError (node:child_process:880:27) at node:child_process:172:47 at wsrun (/home/runner/work/wsrun/wsrun/tests/test.util.ts:102:29) at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:86:25 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:85:7 at /home/runner/work/wsrun/wsrun/tests/test.util.ts:68:18 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:87:9
error: expect(received).toBeFalsy(): tests/basic.spec.ts#L101
Received: 97 | 98 | let pkgPath = path.resolve(__dirname, '..') 99 | let binPath = require('../package.json').bin.wsrun 100 | let wsrunPath = path.resolve(pkgPath, binPath) 101 | 102 | export async function wsrun(cmd: string | string[], env: { [key: string]: string } = {}) { ^ error: /usr/bin/env: 'node': No such file or directory errno: -1 code: "127" syscall: "spawnSync" path: "/home/runner/work/wsrun/wsrun/bin/wsrun.mjs" at new SystemError (node:child_process:880:27) at node:child_process:172:47 at wsrun (/home/runner/work/wsrun/wsrun/tests/test.util.ts:102:29) at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:100:25 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:99:7 at /home/runner/work/wsrun/wsrun/tests/test.util.ts:68:18 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:101:9
error: expect(received).toContain(expected): tests/basic.spec.ts#L115
Expected to contain: "Aborted execution due to previous error" Received: "/usr/bin/env: 'node': No such file or directory\n" at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:115:9
error: expect(received).toBeFalsy(): tests/basic.spec.ts#L146
Received: 127 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:146:9
error: expect(received).toBeFalsy(): tests/basic.spec.ts#L165
Received: 127 at /home/runner/work/wsrun/wsrun/tests/basic.spec.ts:165:9