Skip to content

Commit

Permalink
Merge pull request #1141 from embroider-build/test-suite-cleanup
Browse files Browse the repository at this point in the history
Drive the test suite from scenario-tester
  • Loading branch information
ef4 authored Feb 25, 2022
2 parents b8afe94 + 66bc2b4 commit 0f91d26
Show file tree
Hide file tree
Showing 22 changed files with 127 additions and 448 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
- name: lint
run: yarn lint
- id: set-matrix
run: echo "::set-output name=matrix::$(node ./test-packages/support/suite-setup-util.js --matrix)"
working-directory: test-packages/support
run: echo "::set-output name=matrix::$(node ./suite-setup-util.js --matrix)"

test:
needs: ['preflight']
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"compile": "tsc",
"lint": "eslint . --cache",
"prepare": "tsc",
"test": "node ./test-packages/support/suite-setup-util.js --emit && jest"
"test": "cd tests/scenarios && yarn test"
},
"jest": {
"projects": [
Expand Down
90 changes: 0 additions & 90 deletions packages/router/config/ember-try.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
"ember-source": "~3.28.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^3.6.0",
"ember-try": "^1.4.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-ember": "^10.5.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/router/testem.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const { testemConfig } = require('@embroider/test-support/suite-setup-util');
const { testemConfig } = require('@embroider/test-support/testem-config');
module.exports = testemConfig();
80 changes: 0 additions & 80 deletions packages/util/config/ember-try.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"ember-source": "~3.26",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^2.18.1",
"ember-try": "^1.4.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-ember": "^10.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/util/testem.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const { testemConfig } = require('@embroider/test-support/suite-setup-util');
const { testemConfig } = require('@embroider/test-support/testem-config');
module.exports = testemConfig();
4 changes: 0 additions & 4 deletions test-packages/jest.config.js

This file was deleted.

84 changes: 0 additions & 84 deletions test-packages/sample-transforms/config/ember-try.js

This file was deleted.

1 change: 0 additions & 1 deletion test-packages/sample-transforms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"ember-source": "~3.26",
"ember-source-channel-url": "^1.1.0",
"ember-template-lint": "^3.6.0",
"ember-try": "^1.0.0",
"eslint-plugin-ember": "^7.0.0",
"eslint-plugin-node": "^9.0.1",
"loader.js": "^4.7.0",
Expand Down
2 changes: 1 addition & 1 deletion test-packages/sample-transforms/testem.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const { testemConfig } = require('@embroider/test-support/suite-setup-util');
const { testemConfig } = require('@embroider/test-support/testem-config');
module.exports = testemConfig();
Loading

0 comments on commit 0f91d26

Please sign in to comment.