substance
Version:
Substance is a JavaScript library for web-based content editing. It provides building blocks for realizing custom text editors and web-based publishing systems.
12 lines (9 loc) • 312 B
JavaScript
import { module } from 'substance-test'
import { ChangeStore } from 'substance'
import testChangeStore from './testChangeStore'
const test = module('collab/ChangeStore')
function createChangeStore() {
return new ChangeStore()
}
// Runs the offical backend test suite
testChangeStore(createChangeStore, test)