Skip to content

Commit ce609a9

Browse files
author
Jakub Freisler
committed
test: style src with advanced path resolution
1 parent 4afea00 commit ce609a9

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
@@ -6,6 +6,8 @@
66

77
<style module src="./styles/external.css" />
88

9+
<style module="$style2" src="~__styles/external.css" />
10+
911
<style module="css">
1012
.a {
1113
background: color(red a(90%));

e2e/__projects__/style/test.js

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

0 commit comments

Comments
 (0)