File tree 2 files changed +48
-8
lines changed
visual-js/visual-snapshots/test/api
2 files changed +48
-8
lines changed Original file line number Diff line number Diff line change
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports [` VisualSnapshots generateAndSendPdfFileSnapshots with params 1` ] = `
4
+ [
5
+ [
6
+ "Build build-id created.",
7
+ ],
8
+ [
9
+ "Uploaded image to build build-id: upload id=upload-id-0.",
10
+ ],
11
+ [
12
+ "Created a snapshot page-1 for build build-id.",
13
+ ],
14
+ [
15
+ "Uploaded image to build build-id: upload id=upload-id-1.",
16
+ ],
17
+ [
18
+ "Created a snapshot page-2 for build build-id.",
19
+ ],
20
+ [
21
+ "Build build-id finished.",
22
+ ],
23
+ ]
24
+ ` ;
25
+
26
+ exports [` VisualSnapshots generateAndSendPdfFileSnapshots without params 1` ] = `
27
+ [
28
+ [
29
+ "Build build-id created.",
30
+ ],
31
+ [
32
+ "Uploaded image to build build-id: upload id=upload-id-0.",
33
+ ],
34
+ [
35
+ "Created a snapshot page-1 for build build-id.",
36
+ ],
37
+ [
38
+ "Uploaded image to build build-id: upload id=upload-id-1.",
39
+ ],
40
+ [
41
+ "Created a snapshot page-2 for build build-id.",
42
+ ],
43
+ [
44
+ "Build build-id finished.",
45
+ ],
46
+ ]
47
+ ` ;
Original file line number Diff line number Diff line change @@ -94,14 +94,7 @@ describe("VisualSnapshots", () => {
94
94
uuid : "build-id" ,
95
95
} ) ;
96
96
97
- expect ( consoleInfoSpy . mock . calls ) . toEqual ( [
98
- [ "Build build-id created." ] ,
99
- [ "Uploaded image to build build-id: upload id=upload-id-0." ] ,
100
- [ "Created a snapshot page-1 for build build-id." ] ,
101
- [ "Uploaded image to build build-id: upload id=upload-id-1." ] ,
102
- [ "Created a snapshot page-2 for build build-id." ] ,
103
- [ "Build build-id finished." ] ,
104
- ] ) ;
97
+ expect ( consoleInfoSpy . mock . calls ) . toMatchSnapshot ( ) ;
105
98
} ;
106
99
107
100
test ( "with params" , async ( ) => {
You can’t perform that action at this time.
0 commit comments