1+ import { equal , is , match , not , throws } from 'uvu/assert'
12import { testPath , jsonify , eachTest } from 'postcss-parser-tests'
23import { readFileSync } from 'fs'
34import { resolve } from 'path'
45import { test } from 'uvu'
5- import { equal , is , match , not , throws } from 'uvu/assert'
66
77import { Declaration , AtRule , parse , Root , Rule } from '../lib/postcss.js'
88
@@ -21,15 +21,15 @@ eachTest((name, css, json) => {
2121
2222test ( 'parses UTF-8 BOM' , ( ) => {
2323 let css = parse ( '\uFEFF@host { a {\f} }' )
24- is ( css . nodes [ 0 ] . raws . before , '' )
24+ equal ( css . nodes [ 0 ] . raws . before , '' )
2525} )
2626
27- test ( 'should has true at ` hasBOM` property' , ( ) => {
27+ test ( 'should has true at hasBOM property' , ( ) => {
2828 let css = parse ( '\uFEFF@host { a {\f} }' )
2929 is ( css . first ?. source ?. input . hasBOM , true )
3030} )
3131
32- test ( 'should has false at ` hasBOM` property' , ( ) => {
32+ test ( 'should has false at hasBOM property' , ( ) => {
3333 let css = parse ( '@host { a {\f} }' )
3434 is ( css . first ?. source ?. input . hasBOM , false )
3535} )
0 commit comments