@@ -32,8 +32,8 @@ describe('style-data', () => {
32
32
} ;
33
33
34
34
compare (
35
- path . join ( 'test' , 'fixtures' , 'in.html' ) ,
36
- path . join ( 'test' , 'expected' , 'out.html' ) ,
35
+ path . join ( __dirname , 'fixtures' , 'in.html' ) ,
36
+ path . join ( __dirname , 'expected' , 'out.html' ) ,
37
37
[ '\n h1 {\n border: 1px solid #ccc;\n }\n ' ] ,
38
38
options ,
39
39
done
@@ -48,8 +48,8 @@ describe('style-data', () => {
48
48
} ;
49
49
50
50
compare (
51
- path . join ( 'test' , 'fixtures' , 'no-style-tag' , 'in.html' ) ,
52
- path . join ( 'test' , 'expected' , 'no-style-tag' , 'out.html' ) ,
51
+ path . join ( __dirname , 'fixtures' , 'no-style-tag' , 'in.html' ) ,
52
+ path . join ( __dirname , 'expected' , 'no-style-tag' , 'out.html' ) ,
53
53
[ ] ,
54
54
options ,
55
55
done
@@ -64,8 +64,8 @@ describe('style-data', () => {
64
64
} ;
65
65
66
66
compare (
67
- path . join ( 'test' , 'fixtures' , 'media-queries' , 'in.html' ) ,
68
- path . join ( 'test' , 'expected' , 'media-queries' , 'out.html' ) ,
67
+ path . join ( __dirname , 'fixtures' , 'media-queries' , 'in.html' ) ,
68
+ path . join ( __dirname , 'expected' , 'media-queries' , 'out.html' ) ,
69
69
[ '\n h1 {\n border: 1px solid #ccc;\n }\n ' , '\n @media only screen and (min-width: 640px) {\n .headline {\n color: blue;\n }\n }\n ' ] ,
70
70
options ,
71
71
done
@@ -80,8 +80,8 @@ describe('style-data', () => {
80
80
} ;
81
81
82
82
compare (
83
- path . join ( 'test' , 'fixtures' , 'codeblocks.html' ) ,
84
- path . join ( 'test' , 'expected' , 'codeblocks.html' ) ,
83
+ path . join ( __dirname , 'fixtures' , 'codeblocks.html' ) ,
84
+ path . join ( __dirname , 'expected' , 'codeblocks.html' ) ,
85
85
[ ] ,
86
86
options ,
87
87
done
@@ -96,8 +96,8 @@ describe('style-data', () => {
96
96
} ;
97
97
98
98
compare (
99
- path . join ( 'test' , 'fixtures' , 'ejs.html' ) ,
100
- path . join ( 'test' , 'expected' , 'ejs.html' ) ,
99
+ path . join ( __dirname , 'fixtures' , 'ejs.html' ) ,
100
+ path . join ( __dirname , 'expected' , 'ejs.html' ) ,
101
101
[ ] ,
102
102
options ,
103
103
done
@@ -112,8 +112,8 @@ describe('style-data', () => {
112
112
} ;
113
113
114
114
compare (
115
- path . join ( 'test' , 'fixtures' , 'codeblocks-external.html' ) ,
116
- path . join ( 'test' , 'expected' , 'codeblocks-external.html' ) ,
115
+ path . join ( __dirname , 'fixtures' , 'codeblocks-external.html' ) ,
116
+ path . join ( __dirname , 'expected' , 'codeblocks-external.html' ) ,
117
117
[ ] ,
118
118
options ,
119
119
done
@@ -128,8 +128,8 @@ describe('style-data', () => {
128
128
} ;
129
129
130
130
compare (
131
- path . join ( 'test' , 'fixtures' , 'data-embed' , 'in.html' ) ,
132
- path . join ( 'test' , 'expected' , 'data-embed' , 'out.html' ) ,
131
+ path . join ( __dirname , 'fixtures' , 'data-embed' , 'in.html' ) ,
132
+ path . join ( __dirname , 'expected' , 'data-embed' , 'out.html' ) ,
133
133
[ '\n h1 {\n border: 1px solid #ccc;\n }\n ' ] ,
134
134
options ,
135
135
done
0 commit comments