@@ -10,7 +10,7 @@ Deno.test('css processor', async () => {
10
10
assertEquals ( code , 'import { applyCSS } from "https://deno.land/x/aleph/framework/core/style.ts"\napplyCSS("/test.css", "h1 { font-size: 18px; }")' )
11
11
} )
12
12
13
- Deno . test ( 'css loader for inline style' , async ( ) => {
13
+ Deno . test ( 'css processor for inline style' , async ( ) => {
14
14
const processor = new CSSProcessor ( )
15
15
const { code } = await processor . transform (
16
16
'#inline-style-{}' ,
@@ -19,7 +19,7 @@ Deno.test('css loader for inline style', async () => {
19
19
assertEquals ( code , 'h1 { font-size: 18px; }' )
20
20
} )
21
21
22
- Deno . test ( 'css loader in production mode' , async ( ) => {
22
+ Deno . test ( 'css processor in production mode' , async ( ) => {
23
23
const processor = new CSSProcessor ( )
24
24
processor . config ( true , [ ] )
25
25
const { code } = await processor . transform (
@@ -30,9 +30,9 @@ Deno.test('css loader in production mode', async () => {
30
30
assertEquals ( code , 'import { applyCSS } from "https://deno.land/x/aleph/framework/core/style.ts"\napplyCSS("/test.css", "h1{font-size:18px}")' )
31
31
} )
32
32
33
- Deno . test ( 'css loader with postcss plugins' , async ( ) => {
33
+ Deno . test ( 'css processor with postcss plugins' , async ( ) => {
34
34
const processor = new CSSProcessor ( )
35
- processor . config ( true , [ 'postcss-nested' ] )
35
+ processor . config ( false , [ 'postcss-nested' ] )
36
36
const { code } = await processor . transform (
37
37
'/test.css' ,
38
38
'.foo { .bar { font-size: 100%; } }'
0 commit comments