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 c4df44a commit 0ae4443Copy full SHA for 0ae4443
test/edgeCases.spec.ts
@@ -40,7 +40,29 @@ test('vue rule with include', async () => {
40
assertComponent(result)
41
})
42
43
-test.todo('test-less oneOf rules')
+test('test-less oneOf rules', async () => {
44
+ const result = await mockBundleAndRun({
45
+ entry: 'basic.vue',
46
+ modify: (config: any) => {
47
+ config!.module!.rules = [
48
+ {
49
+ test: /\.vue$/,
50
+ loader: 'vue-loader',
51
+ },
52
53
+ oneOf: [
54
55
+ test: /\.css$/,
56
+ use: ['style-loader', 'css-loader'],
57
58
+ ],
59
60
+ ]
61
62
+ })
63
+
64
+ assertComponent(result)
65
+})
66
67
// #1210
68
test('normalize multiple use + options', async () => {
0 commit comments