-
Notifications
You must be signed in to change notification settings - Fork 1
/
failing.test.ts.snap
37 lines (35 loc) · 1.02 KB
/
failing.test.ts.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`works with failing JS test 1`] = `
"FAIL e2e/__fixtures__/js-failing/index.test.ts
✕ tsd typecheck
● tsd typecheck
Argument of type 'number' is not assignable to parameter of type 'string'.
> 5 | expectType<string>(concat(1, 2));
| ^
at index.test.ts:5:20
Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 passed, 2 total
Snapshots: 0 total
Time:
Ran all test suites.
"
`;
exports[`works with failing TS test 1`] = `
"FAIL e2e/__fixtures__/ts-failing/index.test.ts
✕ tsd typecheck
● tsd typecheck
Argument of type 'Date' is not assignable to parameter of type 'string'.
> 5 | expectType<string>(makeDate(5, 5, 5));
| ^
at index.test.ts:5:20
Expected an error, but found none.
> 7 | expectError(makeDate(1, 3, 6));
| ^
at index.test.ts:7:1
Test Suites: 1 failed, 1 total
Tests: 2 failed, 2 passed, 4 total
Snapshots: 0 total
Time:
Ran all test suites.
"
`;