11 lines
325 B
JavaScript
11 lines
325 B
JavaScript
import config from '../defaultConfig.js'
|
|
import configStub from '../stubs/defaultConfig.stub.js'
|
|
|
|
test('the default config matches the stub', () => {
|
|
expect(config).toEqual(configStub)
|
|
})
|
|
|
|
test('modifying the default config does not affect the stub', () => {
|
|
config.theme = {}
|
|
expect(config).not.toEqual(configStub)
|
|
})
|