forked from jestjs/jest
/
transform.test.ts.snap
45 lines (38 loc) · 2.34 KB
/
transform.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
38
39
40
41
42
43
44
45
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`babel-jest ignored tells user to match ignored files 1`] = `
FAIL __tests__/ignoredFile.test.js
● Test suite failed to run
babel-jest: Babel ignores __tests__/ignoredFile.test.js - make sure to include the file in Jest's transformIgnorePatterns as well.
at loadBabelConfig (../../../packages/babel-jest/build/index.js:195:13)
`;
exports[`babel-jest instruments only specific files and collects coverage 1`] = `
------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
------------|---------|----------|---------|---------|-------------------
All files | 83.33 | 100 | 50 | 80 |
covered.js | 83.33 | 100 | 50 | 80 | 13
------------|---------|----------|---------|---------|-------------------
`;
exports[`custom transformer instruments files 1`] = `
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files | 0 | 0 | 0 | 0 |
----------|---------|----------|---------|---------|-------------------
`;
exports[`no babel-jest instrumentation with no babel-jest 1`] = `
------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
------------|---------|----------|---------|---------|-------------------
All files | 83.33 | 100 | 50 | 80 |
covered.js | 83.33 | 100 | 50 | 80 | 13
------------|---------|----------|---------|---------|-------------------
`;
exports[`transformer-config instruments only specific files and collects coverage 1`] = `
------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
------------|---------|----------|---------|---------|-------------------
All files | 83.33 | 100 | 50 | 80 |
Covered.js | 83.33 | 100 | 50 | 80 | 13
------------|---------|----------|---------|---------|-------------------
`;