This repository has been archived by the owner on Oct 10, 2018. It is now read-only.
/
utility-functions.test.ts.snap
75 lines (65 loc) · 1.69 KB
/
utility-functions.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`utility functions getImportInsertPosition() should return correct position for commented file 1`] = `
Object {
"character": 0,
"line": 1,
}
`;
exports[`utility functions getImportInsertPosition() should return correct position for js block comment open 1`] = `
Object {
"character": 0,
"line": 1,
}
`;
exports[`utility functions getImportInsertPosition() should return correct position for jsdoc comment close 1`] = `
Object {
"character": 0,
"line": 1,
}
`;
exports[`utility functions getImportInsertPosition() should return correct position for jsdoc comment line 1`] = `
Object {
"character": 0,
"line": 1,
}
`;
exports[`utility functions getImportInsertPosition() should return correct position for jsdoc comment open 1`] = `
Object {
"character": 0,
"line": 1,
}
`;
exports[`utility functions getImportInsertPosition() should return correct position for shebang (#!) 1`] = `
Object {
"character": 0,
"line": 1,
}
`;
exports[`utility functions getImportInsertPosition() should return correct position for use strict 1`] = `
Object {
"character": 0,
"line": 1,
}
`;
exports[`utility functions getImportInsertPosition() should return the top position if empty file 1`] = `
Object {
"character": 0,
"line": 0,
}
`;
exports[`utility functions getImportInsertPosition() should return top position if no editor is specified 1`] = `
Object {
"character": 0,
"line": 0,
}
`;
exports[`utility functions importSortByFirstSpecifier should sort according to first specifier/alias, falling back to module path 1`] = `
Array [
"./anotherFile",
"coolEffectLib",
"./myFile",
"myLib",
"anotherLib",
"./workspaceSideEffectLib",
]
`;