1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-04-13 18:01:53 +02:00
slate/test/index.js
Ian Storm Taylor ad2642a3b5 Add the Stack concept (#513)
* trying to get testing in browser to work

* add the "stack" concept

* remove old things from package.json

* minor fixes
2016-12-09 12:15:36 -08:00

27 lines
316 B
JavaScript

import { resetKeyGenerator } from '..'
/**
* Polyfills.
*/
import 'babel-polyfill'
/**
* Tests.
*/
import './rendering'
import './schema'
import './serializers'
import './transforms'
import './behavior'
/**
* Reset Slate's internal state before each text.
*/
beforeEach(() => {
resetKeyGenerator()
})