test/context/index.js
/**
   * Runs the test suite using the lib's `runTestSuiteAndNotify`.
   * @param {TestSuite} ts
   */
Runs the test suite using the lib's `runTestSuiteAndNotify`.
Runs the test suite using the lib ' s ` runTestSuiteAndNotify ` .
async runTestSuite(ts, assertNoErrors = true, onlyFocused) {
    const e = erotic(true)
    try {
      const { notifications, notify } = this.makeNotify()
      await runTestSuiteAndNotify(notify, [], ts, onlyFocused)
      if (assertNoErrors) this.assertNoNotifyErrors(notifications)
      return notifications
    } catch (err) {
      if (err.code != 'TEST_HAS_ERROR') throw err
      const er = e(err)
      throw er
    }
  }
async runTestSuite ( ts , assertNoErrors = true , onlyFocused ) { const e = erotic ( true ) try { const { notifications , notify } = this . makeNotify ( ) await runTestSuiteAndNotify ( notify , [ ] , ts , onlyFocused ) if ( assertNoErrors ) this . assertNoNotifyErrors ( notifications ) return notifications } catch ( err ) { if ( err . code != 'TEST_HAS_ERROR' ) throw err const er = e ( err ) throw er } }
Runs the test suite using the lib's `runTestSuiteAndNotify`.
Runs the test suite using the lib ' s ` runTestSuiteAndNotify ` .