WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Commit e7e4544

Browse files
committed
Remove numbering from tests
1 parent 4b9663a commit e7e4544

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+45
-43
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"jest": {
4242
"setupFilesAfterEnv": [
43-
"<rootDir>/tests/customMatchers.js"
43+
"<rootDir>/tests/_customMatchers.js"
4444
]
4545
},
4646
"browserslist": [
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function run(input, config = {}) {
1414
test('@apply', () => {
1515
let config = {
1616
darkMode: 'class',
17-
purge: [path.resolve(__dirname, './10-apply.test.html')],
17+
purge: [path.resolve(__dirname, './apply.test.html')],
1818
corePlugins: { preflight: false },
1919
theme: {},
2020
plugins: [],
@@ -136,7 +136,7 @@ test('@apply', () => {
136136
`
137137

138138
return run(css, config).then((result) => {
139-
let expectedPath = path.resolve(__dirname, './10-apply.test.css')
139+
let expectedPath = path.resolve(__dirname, './apply.test.css')
140140
let expected = fs.readFileSync(expectedPath, 'utf8')
141141

142142
expect(result.css).toMatchCss(expected)
@@ -146,7 +146,7 @@ test('@apply', () => {
146146
test('@apply error with unknown utility', async () => {
147147
let config = {
148148
darkMode: 'class',
149-
purge: [path.resolve(__dirname, './10-apply.test.html')],
149+
purge: [path.resolve(__dirname, './apply.test.html')],
150150
corePlugins: { preflight: false },
151151
plugins: [],
152152
}
@@ -168,7 +168,7 @@ test('@apply error with unknown utility', async () => {
168168
test('@apply error with nested @screen', async () => {
169169
let config = {
170170
darkMode: 'class',
171-
purge: [path.resolve(__dirname, './10-apply.test.html')],
171+
purge: [path.resolve(__dirname, './apply.test.html')],
172172
corePlugins: { preflight: false },
173173
plugins: [],
174174
}
@@ -194,7 +194,7 @@ test('@apply error with nested @screen', async () => {
194194
test('@apply error with nested @anyatrulehere', async () => {
195195
let config = {
196196
darkMode: 'class',
197-
purge: [path.resolve(__dirname, './10-apply.test.html')],
197+
purge: [path.resolve(__dirname, './apply.test.html')],
198198
corePlugins: { preflight: false },
199199
plugins: [],
200200
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function run(input, config = {}) {
99

1010
test('arbitrary values', () => {
1111
let config = {
12-
purge: [path.resolve(__dirname, './08-arbitrary-values.test.html')],
12+
purge: [path.resolve(__dirname, './arbitrary-values.test.html')],
1313
corePlugins: { preflight: false },
1414
theme: {},
1515
plugins: [],
@@ -22,7 +22,7 @@ test('arbitrary values', () => {
2222
`
2323

2424
return run(css, config).then((result) => {
25-
let expectedPath = path.resolve(__dirname, './08-arbitrary-values.test.css')
25+
let expectedPath = path.resolve(__dirname, './arbitrary-values.test.css')
2626
let expected = fs.readFileSync(expectedPath, 'utf8')
2727

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

0 commit comments

Comments
 (0)