Skip to content

Commit e5f4580

Browse files
committed
test(load-parse-config): imported the preset properly
for #296
1 parent 335cfce commit e5f4580

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/load-parser-config.test.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ async function loadConfig(t, config, pluginOptions) {
3434
loadConfig.title = (providedTitle, config) => `${providedTitle} Load "${config}" config`.trim();
3535

3636
test('Load "conventional-changelog-angular" by default', async (t) => {
37-
t.deepEqual(await loadParserConfig({}, {cwd}), (await (await import('conventional-changelog-angular'))).parserOpts);
37+
t.deepEqual(
38+
await loadParserConfig({}, {cwd}),
39+
(await (await import('conventional-changelog-angular')).default).parserOpts
40+
);
3841
});
3942

4043
test('Accept a "parserOpts" object as option', async (t) => {

0 commit comments

Comments
 (0)