We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fd67ba commit e46b545Copy full SHA for e46b545
test/test.js
@@ -2,11 +2,11 @@ const test = require('ava')
2
const plugin = require('../lib')
3
const posthtml = require('posthtml')
4
5
-const {join} = require('path')
+const path = require('path')
6
const {readFileSync} = require('fs')
7
8
-const fixture = file => readFileSync(join(__dirname, 'fixtures', `${file}.html`), 'utf8')
9
-const expected = file => readFileSync(join(__dirname, 'expected', `${file}.html`), 'utf8')
+const fixture = file => readFileSync(path.join(__dirname, 'fixtures', `${file}.html`), 'utf8')
+const expected = file => readFileSync(path.join(__dirname, 'expected', `${file}.html`), 'utf8')
10
11
const clean = html => html.replace(/[^\S\r\n]+$/gm, '').trim()
12
0 commit comments