UNPKG

ember-source

Version:

A JavaScript framework for creating ambitious web applications

11 lines (8 loc) 341 B
import { a as assert } from '../../../shared-chunks/index-DTxy4Zgx.js'; import { isDevelopingApp } from '@embroider/macros'; function andThen(app, callback) { let wait = app.testHelpers['wait']; (isDevelopingApp() && !(wait) && assert('[BUG] Missing wait helper', wait)); return wait(callback(app)); } export { andThen as default };