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 01e680b commit 2d74024Copy full SHA for 2d74024
test/options.test.js
@@ -3,6 +3,15 @@
3
const test = require('ava');
4
const naming = require('../index');
5
6
+test('should throw error if specified preset is unknow', t => {
7
+ t.throws(
8
+ function () {
9
+ return naming('my-preset');
10
+ },
11
+ 'The `my-preset` naming is unknown.'
12
+ );
13
+});
14
+
15
test('should provide elem option', t => {
16
const myNaming = naming({ elem: '==' });
17
0 commit comments