Skip to content

Commit af1bc5c

Browse files
author
Jakub Freisler
committed
test: external css using HTML-compliant syntax
1 parent d92f21f commit af1bc5c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

e2e/__projects__/style/components/External.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
<style module="$style2" src="~__styles/external.css" />
1010

11+
<style module="$style3" src="./styles/external.css"></style>
12+
1113
<style module="css">
1214
.a {
1315
background: color(red a(90%));

e2e/__projects__/style/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ test('process External', () => {
4646
expect(wrapper.vm).toBeTruthy()
4747
expect(wrapper.vm.$style.testClass).toEqual('testClass')
4848
expect(wrapper.vm.$style2.testClass).toEqual('testClass')
49+
expect(wrapper.vm.$style3.testClass).toEqual('testClass')
4950
expect(wrapper.vm.css.a).toEqual('a')
5051
})

0 commit comments

Comments
 (0)