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.
13 lines (9 loc) • 339 B
JavaScript
import { module } from 'substance-test'
import { SnapshotStore } from 'substance'
import testSnapshotStore from './testSnapshotStore'
const test = module('collab/SnapshotStore')
function createEmptySnapshotStore() {
return new SnapshotStore()
}
// Runs the offical backend test suite
testSnapshotStore(createEmptySnapshotStore, test)