Skip to content

Commit a444a3b

Browse files
authored
Merge pull request #1167 from typed-ember/test-issues
Get CI passing
2 parents 782fb5c + ac8be4d commit a444a3b

File tree

3 files changed

+3009
-4495
lines changed

3 files changed

+3009
-4495
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"ember-cli-addon-docs": "ember-learn/ember-cli-addon-docs#4f5bfd11",
9191
"ember-cli-addon-docs-esdoc": "0.2.3",
9292
"ember-cli-app-version": "3.2.0",
93-
"ember-cli-babel": "7.18.0",
93+
"ember-cli-babel": "7.21.0",
9494
"ember-cli-blueprint-test-helpers": "0.19.2",
9595
"ember-cli-dependency-checker": "3.2.0",
9696
"ember-cli-deploy": "1.0.2",
@@ -110,7 +110,7 @@
110110
"ember-maybe-import-regenerator": "0.1.6",
111111
"ember-qunit": "4.6.0",
112112
"ember-resolver": "7.0.0",
113-
"ember-source": "3.17.0",
113+
"ember-source": "3.17.3",
114114
"ember-try": "1.4.0",
115115
"eslint": "6.8.0",
116116
"eslint-config-prettier": "6.10.0",

ts/tests/commands/precompile-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('Acceptance: ts:precompile command', function() {
4040

4141
it('emits errors to the console when precompilation fails', async () => {
4242
fs.ensureDirSync('app');
43-
fs.writeFileSync('app/test-file.ts', `export const testString: string = 123;`);
43+
fs.writeFileSync('app/test-file.ts', `export const testString: string = {};`);
4444

4545
let output = '';
4646
let unhookStdout = hook(process.stdout, { quiet: true }, chunk => (output += chunk));
@@ -49,7 +49,7 @@ describe('Acceptance: ts:precompile command', function() {
4949
await ember(['ts:precompile']);
5050
expect.fail('Precompilation should have failed');
5151
} catch {
52-
expect(output).to.include(`Type '123' is not assignable to type 'string'.`);
52+
expect(output).to.include(`Type '{}' is not assignable to type 'string'.`);
5353
} finally {
5454
unhookStdout();
5555
unhookStderr();

0 commit comments

Comments
 (0)