We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 521074f commit 1829fd7Copy full SHA for 1829fd7
__tests__/index.spec.js
@@ -105,7 +105,8 @@ describe('js-to-styles-vars-loader', () => {
105
}).not.toThrow();
106
for (const notOkThing of areNotOk) {
107
expect(() => {
108
- operator.validateVariablesValue(notOkThing, "", "");
+ operator.validateVariablesValue(notOkThing, "", "nofile.js");
109
+ operator.validateVariablesValue(notOkThing, "some.thing", "nofile.js");
110
console.error(`Should have thrown on ${typeof notOkThing} '${JSON.stringify(notOkThing)}'`);
111
},).toThrow();
112
0 commit comments