Rename test to be more clear

This commit is contained in:
Adam Wathan 2017-11-24 14:14:04 -05:00
parent b696cbcbf0
commit 476b60c70b
2 changed files with 5 additions and 7 deletions

View File

@ -0,0 +1,5 @@
import config from '../defaultConfig.js'
test('the default config matches the stub', () => {
expect(config()).toEqual(require('../defaultConfig.stub.js'))
})

View File

@ -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())
})