import * as crypto from './crypto.test.js' import { runTests } from 'lib0/testing' import { isBrowser, isNode } from 'lib0/environment' import * as log from 'lib0/logging' if (isBrowser) { log.createVConsole(document.body) } runTests({ crypto }).then(success => { /* istanbul ignore next */ if (isNode) { process.exit(success ? 0 : 1) } })