Skip to content

Commit

Permalink
regen snapshots to account for newer errors
Browse files Browse the repository at this point in the history
  • Loading branch information
machty committed Jan 9, 2025
1 parent fb21b17 commit 318c404
Showing 1 changed file with 58 additions and 8 deletions.
66 changes: 58 additions & 8 deletions packages/core/__tests__/cli/build.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,13 @@ describe('CLI: single-pass build mode typechecking', () => {
2 const A = 2 * C;
~
src/index.gts:2:15 - error TS2307: Cannot find module '@glint-test/a' or its corresponding type declarations.
Found 1 error.
2 import A from '@glint-test/a';
~~~~~~~~~~~~~~~
Found 2 errors.
"
`);

Expand Down Expand Up @@ -573,8 +578,13 @@ describe('CLI: single-pass build mode typechecking', () => {
4 const A = <template>{{double C}}</template>;
~
src/index.gts:2:15 - error TS2307: Cannot find module '@glint-test/a' or its corresponding type declarations.
Found 1 error.
2 import A from '@glint-test/a';
~~~~~~~~~~~~~~~
Found 2 errors.
"
`);

Expand Down Expand Up @@ -702,8 +712,13 @@ describe('CLI: single-pass build mode typechecking', () => {
1 const B: number = 'ahoy';
~
src/index.gts:3:15 - error TS2307: Cannot find module '@glint-test/b' or its corresponding type declarations.
Found 1 error.
3 import B from '@glint-test/b';
~~~~~~~~~~~~~~~
Found 2 errors.
"
`);

Expand Down Expand Up @@ -807,8 +822,13 @@ describe('CLI: single-pass build mode typechecking', () => {
2 const Usage = <template>{{double "hello"}}</template>;
~~~~~~~
src/index.gts:3:15 - error TS2307: Cannot find module '@glint-test/b' or its corresponding type declarations.
Found 1 error.
3 import B from '@glint-test/b';
~~~~~~~~~~~~~~~
Found 2 errors.
"
`);

Expand Down Expand Up @@ -895,8 +915,18 @@ describe('CLI: single-pass build mode typechecking', () => {
1 const C: number = 'world';
~
../a/src/index.gts:1:15 - error TS2307: Cannot find module '@glint-test/c' or its corresponding type declarations.
Found 1 error.
1 import C from '@glint-test/c';
~~~~~~~~~~~~~~~
src/index.gts:2:15 - error TS2307: Cannot find module '@glint-test/a' or its corresponding type declarations.
2 import A from '@glint-test/a';
~~~~~~~~~~~~~~~
Found 3 errors.
"
`);

Expand All @@ -915,8 +945,13 @@ describe('CLI: single-pass build mode typechecking', () => {
1 const C: number = 'world';
~
src/index.gts:1:15 - error TS2307: Cannot find module '@glint-test/c' or its corresponding type declarations.
Found 1 error.
1 import C from '@glint-test/c';
~~~~~~~~~~~~~~~
Found 2 errors.
"
`);

Expand Down Expand Up @@ -1040,8 +1075,18 @@ describe('CLI: single-pass build mode typechecking', () => {
2 const useDouble = <template>{{double "hello"}}</template>;
~~~~~~~
../a/src/index.gts:1:15 - error TS2307: Cannot find module '@glint-test/c' or its corresponding type declarations.
Found 1 error.
1 import C from '@glint-test/c';
~~~~~~~~~~~~~~~
src/index.gts:2:15 - error TS2307: Cannot find module '@glint-test/a' or its corresponding type declarations.
2 import A from '@glint-test/a';
~~~~~~~~~~~~~~~
Found 3 errors.
"
`);

Expand All @@ -1060,8 +1105,13 @@ describe('CLI: single-pass build mode typechecking', () => {
2 const useDouble = <template>{{double "hello"}}</template>;
~~~~~~~
src/index.gts:1:15 - error TS2307: Cannot find module '@glint-test/c' or its corresponding type declarations.
Found 1 error.
1 import C from '@glint-test/c';
~~~~~~~~~~~~~~~
Found 2 errors.
"
`);

Expand Down

0 comments on commit 318c404

Please sign in to comment.