mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Rename test to be more clear
This commit is contained in:
parent
b696cbcbf0
commit
476b60c70b
5
__tests__/defaultConfig.test.js
Normal file
5
__tests__/defaultConfig.test.js
Normal file
@ -0,0 +1,5 @@
|
||||
import config from '../defaultConfig.js'
|
||||
|
||||
test('the default config matches the stub', () => {
|
||||
expect(config()).toEqual(require('../defaultConfig.stub.js'))
|
||||
})
|
||||
@ -1,7 +0,0 @@
|
||||
import tailwind from '../src/index'
|
||||
import config from '../defaultConfig.js'
|
||||
|
||||
test('it can accept a config file', () => {
|
||||
tailwind('./defaultConfig.js')
|
||||
expect(require('../defaultConfig.stub.js')).toEqual(config())
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user