File tree Expand file tree Collapse file tree 3 files changed +46
-37
lines changed
Curve/src/__tests__/__snapshots__ Expand file tree Collapse file tree 3 files changed +46
-37
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,22 @@ exports[`Curve 3D animations error gracefully 1`] = `
55 context = {
66 {
77 " context" : {
8- " curve" : {
9- " state" : {
10- " drawnCurves" : [
11- AnimatedCurve {
12- " angle" : 0 ,
13- " drawer" : [Function ],
14- " duration" : 1 ,
15- " fps" : 60 ,
16- " func" : [Function ],
17- " is3D" : true ,
18- " toReplString" : [Function ],
19- },
20- ],
8+ " moduleContexts" : {
9+ " curve" : {
10+ " state" : {
11+ " drawnCurves" : [
12+ AnimatedCurve {
13+ " angle" : 0 ,
14+ " drawer" : [Function ],
15+ " duration" : 1 ,
16+ " fps" : 60 ,
17+ " func" : [Function ],
18+ " is3D" : true ,
19+ " toReplString" : [Function ],
20+ },
21+ ],
22+ },
23+ " tabs" : [],
2124 },
2225 },
2326 },
@@ -31,19 +34,22 @@ exports[`Curve animations error gracefully 1`] = `
3134 context = {
3235 {
3336 " context" : {
34- " curve" : {
35- " state" : {
36- " drawnCurves" : [
37- AnimatedCurve {
38- " angle" : 0 ,
39- " drawer" : [Function ],
40- " duration" : 1 ,
41- " fps" : 60 ,
42- " func" : [Function ],
43- " is3D" : false ,
44- " toReplString" : [Function ],
45- },
46- ],
37+ " moduleContexts" : {
38+ " curve" : {
39+ " state" : {
40+ " drawnCurves" : [
41+ AnimatedCurve {
42+ " angle" : 0 ,
43+ " drawer" : [Function ],
44+ " duration" : 1 ,
45+ " fps" : 60 ,
46+ " func" : [Function ],
47+ " is3D" : false ,
48+ " toReplString" : [Function ],
49+ },
50+ ],
51+ },
52+ " tabs" : [],
4753 },
4854 },
4955 },
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { RuneTab } from '..';
66
77test ( 'Ensure that rune animations error gracefully' , ( ) => {
88 const badAnimation = animate_rune ( 1 , 60 , _t => 1 as any ) ;
9- const mockContext = mockDebuggerContext < RuneModuleState > ( { drawnRunes : [ badAnimation ] } , 'rune' ) ;
9+ const mockContext = mockDebuggerContext < RuneModuleState > ( { drawnRunes : [ badAnimation ] } , 'rune' ) ;
1010 expect ( < RuneTab context = { mockContext } /> )
1111 . toMatchSnapshot ( ) ;
1212} ) ;
Original file line number Diff line number Diff line change @@ -5,16 +5,19 @@ exports[`Ensure that rune animations error gracefully 1`] = `
55 context = {
66 {
77 " context" : {
8- " rune" : {
9- " state" : {
10- " drawnRunes" : [
11- AnimatedRune {
12- " duration" : 1 ,
13- " fps" : 60 ,
14- " func" : [Function ],
15- " toReplString" : [Function ],
16- },
17- ],
8+ " moduleContexts" : {
9+ " rune" : {
10+ " state" : {
11+ " drawnRunes" : [
12+ AnimatedRune {
13+ " duration" : 1 ,
14+ " fps" : 60 ,
15+ " func" : [Function ],
16+ " toReplString" : [Function ],
17+ },
18+ ],
19+ },
20+ " tabs" : [],
1821 },
1922 },
2023 },
You can’t perform that action at this time.
0 commit comments