fix replace with delete

This commit is contained in:
Kevin Jahns
2019-04-05 21:06:43 +02:00
parent 7d0c048708
commit 61d9d96d15
3 changed files with 19 additions and 4 deletions

View File

@@ -5,10 +5,17 @@ import * as text from './y-text.tests.js'
import * as xml from './y-xml.tests.js'
import { runTests } from 'lib0/testing.js'
import { isBrowser } from 'lib0/environment.js'
import { isBrowser, isNode } from 'lib0/environment.js'
import * as log from 'lib0/logging.js'
if (isBrowser) {
log.createVConsole(document.body)
}
runTests({ map, array, text, xml })
runTests({
map, array, text, xml
}).then(success => {
/* istanbul ignore next */
if (isNode) {
process.exit(success ? 0 : 1)
}
})