12 lines
336 B
JavaScript
Executable File
12 lines
336 B
JavaScript
Executable File
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)
|
|
})
|