-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests.js
More file actions
44 lines (41 loc) · 1.12 KB
/
Copy pathtests.js
File metadata and controls
44 lines (41 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
"use strict";
let plugins = require('./index');
let assert = require('assert');
plugins.getAll().forEach(function (plugin) {
if (plugin.endsWith('-loader')) {
return;
}
describe(plugin, function () {
require('stylecow-plugin-' + plugin + '/tests/cases');
});
});
describe('Plugins load', function () {
it('Must return all plugins', function() {
assert.deepEqual([
"base64",
"bower-loader",
"calc",
"color",
"custom-media",
"custom-selector",
"extend",
"fixes",
"flex",
"font-variant",
"import",
"matches",
"media-queries",
"msfilter-background-alpha",
"msfilter-linear-gradient",
"msfilter-transform",
"nested-rules",
"npm-loader",
"prefixes",
"rem",
"variables",
"webkit-gradient"
],
plugins.getAll()
);
});
});