Sha256: 706f38bc55a0c6a9515d5e8676e3a6fa4fa1dc62820fad0b73164d8230e2d91f
Contents?: true
Size: 504 Bytes
Versions: 18
Compression:
Stored size: 504 Bytes
Contents
import { module } from 'qunit'; import startApp from '../helpers/start-app'; import destroyApp from '../helpers/destroy-app'; export default function(name, options = {}) { module(name, { beforeEach() { this.application = startApp(); if (options.beforeEach) { options.beforeEach.apply(this, arguments); } }, afterEach() { destroyApp(this.application); if (options.afterEach) { options.afterEach.apply(this, arguments); } } }); }
Version data entries
18 entries across 18 versions & 1 rubygems