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