Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
408 additions
and
123 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
src/helpers/plainAddPlaceholder/__snapshots__/xrefToRefMap.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`xrefToRefMap Predefined xrefs match their snapshots 1`] = ` | ||
Map { | ||
1 => 100423, | ||
2 => 100501, | ||
3 => 100361, | ||
4 => 100340, | ||
5 => 61908, | ||
6 => 61783, | ||
7 => 61679, | ||
8 => 99156, | ||
9 => 121651, | ||
10 => 15, | ||
11 => 62401, | ||
12 => 62300, | ||
13 => 62193, | ||
14 => 97854, | ||
15 => 64460, | ||
16 => 64370, | ||
17 => 64263, | ||
18 => 97049, | ||
19 => 96948, | ||
20 => 96824, | ||
21 => 96650, | ||
22 => 96706, | ||
23 => 100195, | ||
24 => 97749, | ||
25 => 97600, | ||
26 => 97625, | ||
27 => 97650, | ||
28 => 97686, | ||
29 => 97718, | ||
30 => 100548, | ||
31 => 97952, | ||
32 => 98210, | ||
33 => 98776, | ||
34 => 113292, | ||
35 => 99303, | ||
36 => 99567, | ||
37 => 99874, | ||
38 => 115410, | ||
} | ||
`; | ||
|
||
exports[`xrefToRefMap Predefined xrefs match their snapshots 2`] = ` | ||
Map { | ||
6 => 662716, | ||
7 => 662578, | ||
39 => 655893, | ||
40 => 656101, | ||
41 => 656080, | ||
42 => 656127, | ||
43 => 656181, | ||
44 => 656389, | ||
45 => 656368, | ||
46 => 656415, | ||
47 => 656469, | ||
48 => 656794, | ||
49 => 656771, | ||
50 => 672037, | ||
51 => 656877, | ||
52 => 657136, | ||
53 => 657114, | ||
54 => 661923, | ||
55 => 657252, | ||
56 => 659653, | ||
57 => 659629, | ||
58 => 661899, | ||
59 => 662162, | ||
60 => 662140, | ||
61 => 662250, | ||
62 => 662498, | ||
63 => 662476, | ||
64 => 663052, | ||
65 => 662932, | ||
66 => 663030, | ||
67 => 663185, | ||
68 => 663207, | ||
69 => 672013, | ||
70 => 672535, | ||
71 => 672943, | ||
72 => 672920, | ||
73 => 673269, | ||
} | ||
`; | ||
|
||
exports[`xrefToRefMap Throws an error when non-integer offset is given 1`] = `"Expected integer offset. Got \\"20a\\"."`; | ||
|
||
exports[`xrefToRefMap Throws an error when unknown in-use flag is uses 1`] = `"Unknown in-use flag \\"w\\". Expected \\"n\\" or \\"f\\"."`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.