We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63c54d3 commit 1d38ab8Copy full SHA for 1d38ab8
test/utils.spec.ts
@@ -45,6 +45,16 @@ describe('getRenderOptions', () => {
45
expect(output.plugins).toHaveLength(0);
46
});
47
48
+ it('should not break with undefined context', () => {
49
+ const input: d.PluginOptions = {
50
+ injectGlobalPaths: ['./my/global/variables.pcss']
51
+ };
52
+
53
+ expect(() => {
54
+ const output = util.getRenderOptions(input, undefined, undefined);
55
+ }).not.toThrow();
56
+ });
57
58
59
60
0 commit comments