Skip to content

Commit 9964867

Browse files
author
Robert Jackson
authored
Merge pull request #840 from SergeAstapov/bump-embroider-deps
2 parents 26ada96 + bba8be2 commit 9964867

11 files changed

Lines changed: 17 additions & 49 deletions

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
]
3939
},
4040
"dependencies": {
41-
"@embroider/macros": "^0.48.1",
41+
"@embroider/macros": "^1.0.0",
4242
"chalk": "^4.1.1",
4343
"cli-table3": "^0.6.0",
4444
"debug": "^4.2.0",
@@ -56,7 +56,7 @@
5656
"devDependencies": {
5757
"@ember/optional-features": "2.0.0",
5858
"@ember/test-helpers": "2.6.0",
59-
"@embroider/test-setup": "0.48.1",
59+
"@embroider/test-setup": "^1.0.0",
6060
"auto-dist-tag": "2.1.1",
6161
"babel-eslint": "10.1.0",
6262
"codeclimate-test-reporter": "0.5.1",

tests/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{{content-for "body"}}
2222
{{content-for "test-body"}}
2323

24-
<script src="/testem.js" integrity=""></script>
24+
<script src="/testem.js" integrity="" data-embroider-ignore></script>
2525
<script src="{{rootURL}}assets/vendor.js"></script>
2626
<script src="{{rootURL}}assets/test-support.js"></script>
2727
<script src="{{rootURL}}assets/dummy.js"></script>

tests/unit/qunit/async-iterator-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
} from '@embroider/macros';
77

88
if (macroCondition(dependencySatisfies('ember-qunit', '*'))) {
9-
let { module, test } = importSync('qunit');
9+
let { module, test } = importSync('qunit').default;
1010

1111
module('Unit | Qunit | async-iterator', {
1212
beforeEach() {

tests/unit/qunit/filter-test-modules-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
} from '@embroider/macros';
1010

1111
if (macroCondition(dependencySatisfies('ember-qunit', '*'))) {
12-
let { module, test } = importSync('qunit');
12+
let { module, test } = importSync('qunit').default;
1313
let { setupTest } = importSync('ember-qunit');
1414

1515
module('Unit | Qunit | filter-test-modules', function () {

tests/unit/qunit/multiple-edge-cases-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
} from '@embroider/macros';
66

77
if (macroCondition(dependencySatisfies('ember-qunit', '*'))) {
8-
let { module, test } = importSync('qunit');
8+
let { module, test } = importSync('qunit').default;
99

1010
module('Qunit | #3: Module With Multiple Edge Case Tests');
1111

tests/unit/qunit/multiple-ember-tests-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
} from '@embroider/macros';
66

77
if (macroCondition(dependencySatisfies('ember-qunit', '*'))) {
8-
let { module, test } = importSync('qunit');
8+
let { module, test } = importSync('qunit').default;
99
let { setupTest } = importSync('ember-qunit');
1010

1111
module('Qunit | #1: Module-For With Multiple Tests', function (hooks) {

tests/unit/qunit/multiple-tests-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
} from '@embroider/macros';
66

77
if (macroCondition(dependencySatisfies('ember-qunit', '*'))) {
8-
let { module, test } = importSync('qunit');
8+
let { module, test } = importSync('qunit').default;
99

1010
module('Qunit | #2: Module With Multiple Tests');
1111

tests/unit/qunit/test-loader-test.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ import {
66
} from '@embroider/macros';
77

88
if (macroCondition(dependencySatisfies('ember-qunit', '*'))) {
9-
let QUnit;
10-
if (dependencySatisfies('ember-qunit', '>=5')) {
11-
QUnit = importSync('qunit');
12-
} else {
13-
QUnit = importSync('qunit').default;
14-
}
9+
let QUnit = importSync('qunit').default;
1510

1611
let { module, test } = QUnit;
1712

tests/unit/qunit/testem-output-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
} from '@embroider/macros';
77

88
if (macroCondition(dependencySatisfies('ember-qunit', '*'))) {
9-
let { module, test } = importSync('qunit');
9+
let { module, test } = importSync('qunit').default;
1010

1111
module('Unit | Qunit | patch-testem-output', () => {
1212
test('add partition number to test name when `split` is passed', function (assert) {

tests/unit/qunit/weight-test-modules-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
} from '@embroider/macros';
77

88
if (macroCondition(dependencySatisfies('ember-qunit', '*'))) {
9-
let { module, test } = importSync('qunit');
9+
let { module, test } = importSync('qunit').default;
1010

1111
module('Unit | Qunit | weight-test-modules', () => {
1212
test('should sort a list of file paths by weight', function (assert) {

0 commit comments

Comments
 (0)