Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Commit 2d4b98c

Browse files
committed
Update file paths in tests
1 parent 39fa30d commit 2d4b98c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

tests/03-custom-separator.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function run(input, config = {}) {
1010
test('custom separator', () => {
1111
let config = {
1212
darkMode: 'class',
13-
purge: [path.resolve(__dirname, './02-custom-separator.test.html')],
13+
purge: [path.resolve(__dirname, './03-custom-separator.test.html')],
1414
separator: '_',
1515
corePlugins: {},
1616
theme: {},
@@ -20,7 +20,7 @@ test('custom separator', () => {
2020
let css = `@tailwind utilities`
2121

2222
return run(css, config).then((result) => {
23-
let expectedPath = path.resolve(__dirname, './02-custom-separator.test.css')
23+
let expectedPath = path.resolve(__dirname, './03-custom-separator.test.css')
2424
let expected = fs.readFileSync(expectedPath, 'utf8')
2525

2626
expect(result.css).toMatchCss(expected)

tests/04-important-boolean.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test('important boolean', () => {
1111
let config = {
1212
important: true,
1313
darkMode: 'class',
14-
purge: [path.resolve(__dirname, './03-important-boolean.test.html')],
14+
purge: [path.resolve(__dirname, './04-important-boolean.test.html')],
1515
corePlugins: { preflight: false },
1616
theme: {},
1717
plugins: [
@@ -51,7 +51,7 @@ test('important boolean', () => {
5151
`
5252

5353
return run(css, config).then((result) => {
54-
let expectedPath = path.resolve(__dirname, './03-important-boolean.test.css')
54+
let expectedPath = path.resolve(__dirname, './04-important-boolean.test.css')
5555
let expected = fs.readFileSync(expectedPath, 'utf8')
5656

5757
expect(result.css).toMatchCss(expected)

tests/05-prefix.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test('prefix', () => {
1111
let config = {
1212
prefix: 'tw-',
1313
darkMode: 'class',
14-
purge: [path.resolve(__dirname, './04-prefix.test.html')],
14+
purge: [path.resolve(__dirname, './05-prefix.test.html')],
1515
corePlugins: { preflight: false },
1616
theme: {},
1717
plugins: [
@@ -63,7 +63,7 @@ test('prefix', () => {
6363
`
6464

6565
return run(css, config).then((result) => {
66-
let expectedPath = path.resolve(__dirname, './04-prefix.test.css')
66+
let expectedPath = path.resolve(__dirname, './05-prefix.test.css')
6767
let expected = fs.readFileSync(expectedPath, 'utf8')
6868

6969
expect(result.css).toMatchCss(expected)

tests/06-modify-selectors.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function run(input, config = {}) {
1111
test('modify selectors', () => {
1212
let config = {
1313
darkMode: 'class',
14-
purge: [path.resolve(__dirname, './05-modify-selectors.test.html')],
14+
purge: [path.resolve(__dirname, './06-modify-selectors.test.html')],
1515
corePlugins: { preflight: false },
1616
theme: {},
1717
plugins: [
@@ -42,7 +42,7 @@ test('modify selectors', () => {
4242
`
4343

4444
return run(css, config).then((result) => {
45-
let expectedPath = path.resolve(__dirname, './05-modify-selectors.test.css')
45+
let expectedPath = path.resolve(__dirname, './06-modify-selectors.test.css')
4646
let expected = fs.readFileSync(expectedPath, 'utf8')
4747

4848
expect(result.css).toMatchCss(expected)

0 commit comments

Comments
 (0)