Skip to content

Commit 609e2e6

Browse files
update options test
1 parent 21f5fe9 commit 609e2e6

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

test/options.test.js

+18-6
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ test('Options test', (t) => {
2525
trash: true,
2626
combine_features: true,
2727
uncombine_features: true
28-
}
28+
},
29+
coldSourceOptions: {},
30+
hotSourceOptions: {}
2931
};
3032
t.deepEquals(defaultOptions, Draw.options);
3133
t.deepEquals(styleWithSourcesFixture, Draw.options.styles);
@@ -52,7 +54,9 @@ test('Options test', (t) => {
5254
trash: true,
5355
combine_features: true,
5456
uncombine_features: true
55-
}
57+
},
58+
coldSourceOptions: {},
59+
hotSourceOptions: {}
5660
};
5761

5862
t.deepEquals(defaultOptions, Draw.options);
@@ -79,7 +83,9 @@ test('Options test', (t) => {
7983
trash: false,
8084
combine_features: false,
8185
uncombine_features: false
82-
}
86+
},
87+
coldSourceOptions: {},
88+
hotSourceOptions: {}
8389
};
8490
t.deepEquals(defaultOptions, Draw.options);
8591
t.end();
@@ -105,7 +111,9 @@ test('Options test', (t) => {
105111
trash: false,
106112
combine_features: false,
107113
uncombine_features: false
108-
}
114+
},
115+
coldSourceOptions: {},
116+
hotSourceOptions: {}
109117
};
110118

111119
t.deepEquals(defaultOptions, Draw.options);
@@ -132,7 +140,9 @@ test('Options test', (t) => {
132140
trash: true,
133141
combine_features: true,
134142
uncombine_features: true
135-
}
143+
},
144+
coldSourceOptions: {},
145+
hotSourceOptions: {}
136146
};
137147

138148
t.deepEquals(defaultOptions, Draw.options);
@@ -159,7 +169,9 @@ test('Options test', (t) => {
159169
trash: true,
160170
combine_features: true,
161171
uncombine_features: true
162-
}
172+
},
173+
coldSourceOptions: {},
174+
hotSourceOptions: {}
163175
};
164176
t.deepEquals(defaultOptions, Draw.options);
165177
t.deepEquals(styleWithSourcesFixture, Draw.options.styles);

0 commit comments

Comments
 (0)