Skip to content

Commit d09ff73

Browse files
test: getLocalIdent and node type (#1560)
1 parent f2cfe30 commit d09ff73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/modules-option.test.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ describe('"modules" option', () => {
329329
});
330330

331331
it('should work and respect the "getLocalIdent" option', async () => {
332-
expect.assertions(389);
332+
expect.assertions(444);
333333

334334
const compiler = getCompiler("./modules/localIdentName/localIdentName.js", {
335335
modules: {
@@ -345,6 +345,7 @@ describe('"modules" option', () => {
345345
expect(options.regExp).toBe("regExp");
346346
expect(options.context).toBe("context");
347347
expect(options.hashSalt).toBe("hash");
348+
expect(options.node).toBeDefined();
348349

349350
return "foo";
350351
},

0 commit comments

Comments
 (0)