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 293c244 commit c9e9b6eCopy full SHA for c9e9b6e
__tests__/index.test.js
@@ -3,6 +3,7 @@ import { test } from 'node:test'
3
4
import stylelint from 'stylelint'
5
6
+import groups from '../groups.js'
7
import config from '../index.js'
8
import { correctOrder, incorrectOrder } from './_fixtures.js'
9
@@ -36,3 +37,10 @@ test('with correct property order', async () => {
36
37
'it indicates no specific errors',
38
)
39
})
40
+
41
+test('no duplicate properties', async () => {
42
+ let propertiesArray = groups.flatMap((group) => group.properties)
43
+ let propertiesSet = new Set(propertiesArray)
44
45
+ assert.strictEqual(propertiesArray.length, propertiesSet.size)
46
+})
0 commit comments