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 a4f76aa commit 031f6aeCopy full SHA for 031f6ae
test/utils/tester.js
@@ -1,9 +1,10 @@
1
// Reworked stylelint-rule-tester
2
3
import assert, { deepStrictEqual } from 'assert';
4
-import { isRegExp } from 'util/types';
5
import postcss from 'postcss';
6
+const isRegExp = value => toString.call(value) === '[object RegExp]';
7
+
8
/**
9
* Create a ruleTester for a specified rule.
10
*
0 commit comments