@@ -14,7 +14,7 @@ export class Test {
14
14
15
15
@test "Is able to parse vanilla without a `jsx` extension." ( ) {
16
16
mock ( {
17
- "bar.css" : `
17
+ "bar.block. css" : `
18
18
:scope { color: blue; }
19
19
.pretty { color: red; }
20
20
.pretty[state|color=yellow] {
@@ -24,7 +24,7 @@ export class Test {
24
24
} ) ;
25
25
26
26
return parse ( `
27
- import bar from 'bar.css';
27
+ import bar from 'bar.block. css';
28
28
import objstr from 'obj-str';
29
29
30
30
let style = objstr({
@@ -44,7 +44,7 @@ export class Test {
44
44
45
45
@test "Is able to parse typescript" ( ) {
46
46
mock ( {
47
- "bar.css" : `
47
+ "bar.block. css" : `
48
48
:scope { color: blue; }
49
49
.pretty { color: red; }
50
50
.pretty[state|color=yellow] {
@@ -54,7 +54,7 @@ export class Test {
54
54
} ) ;
55
55
56
56
return parse ( `
57
- import bar from 'bar.css';
57
+ import bar from 'bar.block. css';
58
58
import objstr from 'obj-str';
59
59
60
60
function fooGood<T extends { x: number }>(obj: T): T {
@@ -84,7 +84,7 @@ export class Test {
84
84
85
85
@test "Is able to parse flow" ( ) {
86
86
mock ( {
87
- "bar.css" : `
87
+ "bar.block. css" : `
88
88
:scope { color: blue; }
89
89
.pretty { color: red; }
90
90
.pretty[state|color=yellow] {
@@ -94,7 +94,7 @@ export class Test {
94
94
} ) ;
95
95
96
96
return parse ( `
97
- import bar from 'bar.css';
97
+ import bar from 'bar.block. css';
98
98
import objstr from 'obj-str';
99
99
100
100
let color: string = "yellow";
0 commit comments