import { assert } from 'chai' import { ui, setDebug } from '..' describe('TigerBridge.ui', () => { before(() => { setDebug(true) }) after(() => { setDebug(false) }) it('should open alert dialog', async () => { await ui.alert('myTitle', 'hello tester') }) it('should open alert dialog even without title specified', async () => { await ui.alert(null, 'hello!') }) })