Skip to content

fix: 🐛 Typescript configuration not recognized by sites deploy (#32) #99

fix: 🐛 Typescript configuration not recognized by sites deploy (#32)

fix: 🐛 Typescript configuration not recognized by sites deploy (#32) #99

Triggered via push September 20, 2024 09:20
Status Failure
Total duration 37s
Artifacts

test-runner.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
src/commands/auth/login.test.ts > Login > should request token from verification session: src/commands/auth/login.test.ts#L62
AssertionError: expected "spy" to be called with arguments: [ { …(1) } ] Received: 1st spy call: Array [ Object { - "createPersonalAccessTokenFromVerificationSession": Array [ - Object { + "createPersonalAccessTokenFromVerificationSession": Object { + "__args": Object { "data": Object { "name": undefined, }, "where": Object { "id": "mockVerificationSession", }, }, - ], + }, }, ] Number of calls: 1 ❯ src/commands/auth/login.test.ts:62:33
src/utils/configuration/saveConfiguration.test.ts > The saveConfiguration utils > on valid arguments (typescript) > should return the expected filename (fleek.config.ts): src/utils/configuration/saveConfiguration.ts#L62
Error: ENOENT: no such file or directory, open '/home/runner/work/cli/cli/src/utils/configuration/templates/sites/config/fleek.config.ts.tmpl' ❯ Module.saveConfiguration src/utils/configuration/saveConfiguration.ts:62:9 ❯ src/utils/configuration/saveConfiguration.test.ts:132:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cli/cli/src/utils/configuration/templates/sites/config/fleek.config.ts.tmpl' }
src/utils/configuration/saveConfiguration.test.ts > The saveConfiguration utils > on valid arguments (typescript) > should return the expected filename (fleek.config.ts): src/utils/configuration/saveConfiguration.test.ts#L18
Error: Oops! Config file path not set. ❯ clearConfigFile src/utils/configuration/saveConfiguration.test.ts:18:30 ❯ src/utils/configuration/saveConfiguration.test.ts:120:15
src/utils/configuration/saveConfiguration.test.ts > The saveConfiguration utils > on valid arguments (typescript) > should be valid Typescript: src/utils/configuration/saveConfiguration.ts#L62
Error: ENOENT: no such file or directory, open '/home/runner/work/cli/cli/src/utils/configuration/templates/sites/config/fleek.config.ts.tmpl' ❯ Module.saveConfiguration src/utils/configuration/saveConfiguration.ts:62:9 ❯ src/utils/configuration/saveConfiguration.test.ts:137:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cli/cli/src/utils/configuration/templates/sites/config/fleek.config.ts.tmpl' }
src/utils/configuration/saveConfiguration.test.ts > The saveConfiguration utils > on valid arguments (typescript) > should be valid Typescript: src/utils/configuration/saveConfiguration.test.ts#L18
Error: Oops! Config file path not set. ❯ clearConfigFile src/utils/configuration/saveConfiguration.test.ts:18:30 ❯ src/utils/configuration/saveConfiguration.test.ts:120:15
src/utils/configuration/saveConfiguration.test.ts > The saveConfiguration utils > on valid arguments (typescript) > should have certain content properties: src/utils/configuration/saveConfiguration.ts#L62
Error: ENOENT: no such file or directory, open '/home/runner/work/cli/cli/src/utils/configuration/templates/sites/config/fleek.config.ts.tmpl' ❯ Module.saveConfiguration src/utils/configuration/saveConfiguration.ts:62:9 ❯ src/utils/configuration/saveConfiguration.test.ts:155:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cli/cli/src/utils/configuration/templates/sites/config/fleek.config.ts.tmpl' }
src/utils/configuration/saveConfiguration.test.ts > The saveConfiguration utils > on valid arguments (typescript) > should have certain content properties: src/utils/configuration/saveConfiguration.test.ts#L18
Error: Oops! Config file path not set. ❯ clearConfigFile src/utils/configuration/saveConfiguration.test.ts:18:30 ❯ src/utils/configuration/saveConfiguration.test.ts:120:15
src/utils/configuration/saveConfiguration.test.ts > The saveConfiguration utils > on valid arguments (typescript) > should be a typescript importable module: src/utils/configuration/saveConfiguration.ts#L62
Error: ENOENT: no such file or directory, open '/home/runner/work/cli/cli/src/utils/configuration/templates/sites/config/fleek.config.ts.tmpl' ❯ Module.saveConfiguration src/utils/configuration/saveConfiguration.ts:62:9 ❯ src/utils/configuration/saveConfiguration.test.ts:164:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cli/cli/src/utils/configuration/templates/sites/config/fleek.config.ts.tmpl' }
src/utils/configuration/saveConfiguration.test.ts > The saveConfiguration utils > on valid arguments (typescript) > should be a typescript importable module: src/utils/configuration/saveConfiguration.test.ts#L18
Error: Oops! Config file path not set. ❯ clearConfigFile src/utils/configuration/saveConfiguration.test.ts:18:30 ❯ src/utils/configuration/saveConfiguration.test.ts:120:15
src/utils/configuration/saveConfiguration.test.ts > The saveConfiguration utils > on valid arguments (typescript) > should export a default object with specific fields: src/utils/configuration/saveConfiguration.ts#L62
Error: ENOENT: no such file or directory, open '/home/runner/work/cli/cli/src/utils/configuration/templates/sites/config/fleek.config.ts.tmpl' ❯ Module.saveConfiguration src/utils/configuration/saveConfiguration.ts:62:9 ❯ src/utils/configuration/saveConfiguration.test.ts:171:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/cli/cli/src/utils/configuration/templates/sites/config/fleek.config.ts.tmpl' }