Skip to content

Add some smoke tests #6

Add some smoke tests

Add some smoke tests #6

Triggered via pull request April 3, 2025 16:26
Status Failure
Total duration 37s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Tests
Process completed with exit code 1.
smoke/defaults.test.ts > defaults with pnpm > build and test : tests/helpers/fixtures.ts#L81
AssertionError: Fixture path './my-addon/src/components' does not exist. To make this work, place a new file/folder './my-addon/src/components' in the 'tests/fixtures/default' directory. Checked the absolute path: '/home/runner/work/ember-addon-blueprint/ember-addon-blueprint/tests/fixtures/default/my-addon/src/components'. - Expected + Received - true + false ❯ copyFixture helpers/fixtures.ts:81:3 ❯ AddonFixtureHelper.use helpers/meta-helpers.ts:145:5 ❯ smoke/defaults.test.ts:116:7
smoke/defaults.test.ts > defaults with pnpm > lints with no fixtures all pass: tests/helpers/utils.ts#L74
ExecaError: Command failed with exit code 1: pnpm run lint > my-addon@0.0.0 lint /tmp/v2-addon-blueprint--wRzgbf/my-addon > concurrently "pnpm:lint:*(!fix)" --names "lint:" --prefixColors auto [lint:js] [lint:js] > my-addon@0.0.0 lint:js /tmp/v2-addon-blueprint--wRzgbf/my-addon [lint:js] > eslint . --cache [lint:js] [lint:format] [lint:format] > my-addon@0.0.0 lint:format /tmp/v2-addon-blueprint--wRzgbf/my-addon [lint:format] > prettier . --cache --check [lint:format] [lint:hbs] [lint:hbs] > my-addon@0.0.0 lint:hbs /tmp/v2-addon-blueprint--wRzgbf/my-addon [lint:hbs] > ember-template-lint . --no-error-on-unmatched-pattern [lint:hbs] [lint:format] Checking formatting... [lint:format] [warn] babel.publish.config.cjs [lint:format] [warn] config/ember-cli-update.json [lint:format] [warn] Code style issues found in 2 files. Run Prettier with --write to fix. [lint:hbs] [lint:format] \u2009ELIFECYCLE\u2009 Command failed with exit code 1. [lint:format] pnpm run lint:format exited with code 1 [lint:hbs] pnpm run lint:hbs exited with code 0 [lint:js] pnpm run lint:js exited with code 0 \u2009ELIFECYCLE\u2009 Command failed with exit code 1. ❯ getFinalError ../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError ../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult ../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise ../node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ runScript helpers/utils.ts:74:5 ❯ AddonHelper.run helpers/meta-helpers.ts:74:12 ❯ smoke/defaults.test.ts:109:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: pnpm run lint', command: 'pnpm run lint', escapedCommand: 'pnpm run lint', cwd: '/tmp/v2-addon-blueprint--wRzgbf/my-addon', durationMs: 2825.030282, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '\n> my-addon@0.0.0 lint /tmp/v2-addon-blueprint--wRzgbf/my-addon\n> concurrently "pnpm:lint:*(!fix)" --names "lint:" --prefixColors auto\n\n[lint:js] \n[lint:js] > my-addon@0.0.0 lint:js /tmp/v2-addon-blueprint--wRzgbf/my-addon\n[lint:js] > eslint . --cache\n[lint:js] \n[lint:format] \n[lint:format] > my-addon@0.0.0 lint:format /tmp/v2-addon-blueprint--wRzgbf/my-addon\n[lint:format] > prettier . --cache --check\n[lint:format] \n[lint:hbs] \n[lint:hbs] > my-addon@0.0.0 lint:hbs /tmp/v2-addon-blueprint--wRzgbf/my-addon\n[lint:hbs] > ember-template-lint . --no-error-on-unmatched-pattern\n[lint:hbs] \n[lint:format] Checking formatting...\n[lint:format] [warn] babel.publish.config.cjs\n[lint:format] [warn] config/ember-cli-update.json\n[lint:format] [warn] Code style issues found in 2 files. Run Prettier with --write to fix.\n[lint:hbs] \n[lint:format]  ELIFECYCLE  Command failed with exit code 1.\n[lint:format] pnpm run lint:format exited with code 1\n[lint:hbs] pnpm run lint:hbs exited with code 0\n[lint:js] pnpm run lint:js exited with code 0\n ELIFECYCLE  Command failed with exit code 1.', stderr: '', stdio: [ undefined, '\n> my-addon@0.0.0 lint /tmp/v2-addon-blueprint--wRzgbf/my-addon\n> concurrently "pnpm:lint:*(!fix)" --names "lint:" --prefixColors auto\n\n[lint:js] \n[lint:js] > my-addon@0.0.0 lint:js /tmp/v2-addon-blueprint--wRzgbf/my-addon\n[lint:js] > eslint . --cache\n[lint:js] \n[lint:format] \n[lint:format] > my-addon@0.0.0 lint:format /tmp/v2-addon-blueprint--wRzgbf/my-addon\n[lint:format] > prettier . --cache --check\n[lint:format] \n[lint:hbs] \n[lint:hbs] > my-addon@0.0.0 lint:hbs /tmp/v2-addon-blueprint--wRzgbf/my-addon\n[lint:hbs] > ember-template-lint . --no-error-on-unmatched-pattern\n[lint:hbs] \n[lint:format] Checking formatting...\n[lint:format] [warn] babel.publish.config.cjs\n[lint:format] [warn] config/ember-cli-update.json\n[lint:format] [warn] Code style issues found in 2 files. Run Prettier with --write to fix.\n[lint:hbs] \n[lint:format]
smoke/defaults.test.ts > defaults with pnpm > "prepare" built the addon: tests/smoke/defaults.test.ts#L103
AssertionError: expected [] to deeply equal [ 'index.js', 'index.js.map' ] - Expected + Received - [ - "index.js", - "index.js.map", - ] + [] ❯ smoke/defaults.test.ts:103:32
smoke/defaults.test.ts > defaults with npm: tests/smoke/defaults.test.ts#L18
Error: Hook timed out in 10000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ smoke/defaults.test.ts:18:5