defaultConfig.test.js 406 B

1234567891011121314
  1. import config from '../src/public/default-config'
  2. import configStub from '../stubs/config.full'
  3. test.todo('remove mutation from these tests so we can run against both engines')
  4. test('the default config matches the stub', () => {
  5. expect(config).toEqual(configStub)
  6. })
  7. test('modifying the default config does not affect the stub', () => {
  8. config.theme = {}
  9. expect(config).not.toEqual(configStub)
  10. })