Skip to content

Commit 4dceecf

Browse files
committed
test: update snapshots after changes on backingtrack padding
1 parent 5bdb72b commit 4dceecf

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

test/importer/__snapshots__/gp8importer.test.ts.snap

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Map {
2727
"syncpointvalue" => Map {
2828
"baroccurence" => 0,
2929
"modifiedtempo" => 71.88264,
30-
"millisecondoffset" => 0,
30+
"millisecondoffset" => 1653.061224489796,
3131
},
3232
"ratioposition" => 0,
3333
"text" => "",
@@ -39,7 +39,7 @@ Map {
3939
"syncpointvalue" => Map {
4040
"baroccurence" => 0,
4141
"modifiedtempo" => 99.72622,
42-
"millisecondoffset" => 1669.387755102041,
42+
"millisecondoffset" => 3322.448979591837,
4343
},
4444
"ratioposition" => 0.5,
4545
"text" => "",
@@ -56,7 +56,7 @@ Map {
5656
"syncpointvalue" => Map {
5757
"baroccurence" => 0,
5858
"modifiedtempo" => 90.66336,
59-
"millisecondoffset" => 2872.6530612244896,
59+
"millisecondoffset" => 4525.714285714285,
6060
},
6161
"ratioposition" => 0,
6262
"text" => "",
@@ -122,7 +122,7 @@ Map {
122122
"syncpointvalue" => Map {
123123
"baroccurence" => 0,
124124
"modifiedtempo" => 87.32674,
125-
"millisecondoffset" => 37285.71428571428,
125+
"millisecondoffset" => 38938.775510204076,
126126
},
127127
"ratioposition" => 0,
128128
"text" => "",
@@ -153,7 +153,7 @@ Map {
153153
"syncpointvalue" => Map {
154154
"baroccurence" => 0,
155155
"modifiedtempo" => 200.18156,
156-
"millisecondoffset" => 42782.31292517007,
156+
"millisecondoffset" => 44435.37414965986,
157157
},
158158
"ratioposition" => 0,
159159
"text" => "",
@@ -171,7 +171,7 @@ Map {
171171
"syncpointvalue" => Map {
172172
"baroccurence" => 0,
173173
"modifiedtempo" => 200.09074,
174-
"millisecondoffset" => 43981.22448979592,
174+
"millisecondoffset" => 45634.28571428571,
175175
},
176176
"ratioposition" => 0,
177177
"text" => "",
@@ -397,7 +397,7 @@ Map {
397397
"syncpointvalue" => Map {
398398
"baroccurence" => 0,
399399
"modifiedtempo" => 199.99873,
400-
"millisecondoffset" => 102754.55782312925,
400+
"millisecondoffset" => 104407.61904761904,
401401
},
402402
"ratioposition" => 0,
403403
"text" => "",
@@ -709,7 +709,7 @@ Map {
709709
"syncpointvalue" => Map {
710710
"baroccurence" => 0,
711711
"modifiedtempo" => 95.02262,
712-
"millisecondoffset" => 189155.10204081633,
712+
"millisecondoffset" => 190808.16326530612,
713713
},
714714
"ratioposition" => 0,
715715
"text" => "",
@@ -736,7 +736,7 @@ Map {
736736
"syncpointvalue" => Map {
737737
"baroccurence" => 0,
738738
"modifiedtempo" => 103.20769,
739-
"millisecondoffset" => 192943.67346938775,
739+
"millisecondoffset" => 194596.73469387754,
740740
},
741741
"ratioposition" => 0,
742742
"text" => "",
@@ -845,7 +845,7 @@ Map {
845845
"syncpointvalue" => Map {
846846
"baroccurence" => 0,
847847
"modifiedtempo" => 192.18826,
848-
"millisecondoffset" => 211546.9387755102,
848+
"millisecondoffset" => 213200,
849849
},
850850
"ratioposition" => 0,
851851
"text" => "",
@@ -884,7 +884,7 @@ Map {
884884
"syncpointvalue" => Map {
885885
"baroccurence" => 0,
886886
"modifiedtempo" => 195.20833,
887-
"millisecondoffset" => 216542.04081632654,
887+
"millisecondoffset" => 218195.10204081633,
888888
},
889889
"ratioposition" => 0,
890890
"text" => "",
@@ -946,7 +946,7 @@ Map {
946946
"syncpointvalue" => Map {
947947
"baroccurence" => 0,
948948
"modifiedtempo" => 200.20428,
949-
"millisecondoffset" => 231295.51020408163,
949+
"millisecondoffset" => 232948.57142857142,
950950
},
951951
"ratioposition" => 0,
952952
"text" => "",
@@ -992,7 +992,7 @@ Map {
992992
"syncpointvalue" => Map {
993993
"baroccurence" => 0,
994994
"modifiedtempo" => 200.38033,
995-
"millisecondoffset" => 240885.71428571426,
995+
"millisecondoffset" => 242538.77551020405,
996996
},
997997
"ratioposition" => 0,
998998
"text" => "",
@@ -1176,7 +1176,7 @@ Map {
11761176
"syncpointvalue" => Map {
11771177
"baroccurence" => 0,
11781178
"modifiedtempo" => 89.990814,
1179-
"millisecondoffset" => 289393.4693877551,
1179+
"millisecondoffset" => 291046.5306122449,
11801180
},
11811181
"ratioposition" => 0,
11821182
"text" => "",
@@ -1215,7 +1215,7 @@ Map {
12151215
"syncpointvalue" => Map {
12161216
"baroccurence" => 0,
12171217
"modifiedtempo" => 103.1941,
1218-
"millisecondoffset" => 300061.2244897959,
1218+
"millisecondoffset" => 301714.28571428574,
12191219
},
12201220
"ratioposition" => 0,
12211221
"text" => "",
@@ -1316,7 +1316,7 @@ Map {
13161316
"syncpointvalue" => Map {
13171317
"baroccurence" => 0,
13181318
"modifiedtempo" => 103.19424,
1319-
"millisecondoffset" => 320992.6530612245,
1319+
"millisecondoffset" => 322645.7142857143,
13201320
},
13211321
"ratioposition" => 1,
13221322
"text" => "",
@@ -1330,9 +1330,7 @@ Map {
13301330
"hidedynamics" => true,
13311331
"bracketextendmode" => 0,
13321332
},
1333-
"backingtrack" => Map {
1334-
"padding" => -1653.061224489796,
1335-
},
1333+
"backingtrack" => Map {},
13361334
"style" => Map {
13371335
"headerandfooter" => Map {
13381336
"3" => Map {

test/mocha.jest-snapshot.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ export function beforeEachTest(newTest: Mocha.Test) {
113113
}
114114

115115
snapshotState = new SnapshotState(currentResolver!.resolveSnapshotPath(newTest.file!), snapshotOptions);
116+
console.log('Resolved snapshot state', newTest.file!,
117+
snapshotState
118+
)
116119
}
117120
assertionCalls = 0;
118121
currentTest = newTest;

0 commit comments

Comments
 (0)