ember-introjs
Version:
An Ember Component for intro.js
30 lines (24 loc) • 804 B
JavaScript
import { expect } from 'chai';
import { describe, it, beforeEach, afterEach } from 'mocha';
import { run } from '@ember/runloop';
import Application from '@ember/application';
import { initialize } from '<%= dasherizedModulePrefix %>/initializers/<%= dasherizedModuleName %>';
import destroyApp from '../../helpers/destroy-app';
describe('<%= friendlyTestName %>', function() {
let application;
beforeEach(function() {
run(function() {
application = Application.create();
application.deferReadiness();
});
});
afterEach(function() {
destroyApp(application);
});
// Replace this with your real tests.
it('works', function() {
initialize(application);
// you would normally confirm the results of the initializer here
expect(true).to.be.ok;
});
});