Skip to content

Commit fa4c1ec

Browse files
committed
test(rules): import non-typed preset with require
1 parent fbf6af4 commit fa4c1ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

@commitlint/rules/src/references-empty.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import preset from 'conventional-changelog-angular';
21
import parse from '@commitlint/parse';
32
import {referencesEmpty} from './references-empty';
43

4+
const preset = require('conventional-changelog-angular');
5+
56
const messages = {
67
plain: 'foo: bar',
78
comment: 'foo: baz\n#1 Comment',

0 commit comments

Comments
 (0)