Skip to content

Commit

Permalink
add basic fastboot test that copies the existing acceptance test
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed May 16, 2022
1 parent bfa8b52 commit 536790c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/fastboot/basic-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { module, test } from 'qunit';
import { setup, visit } from 'ember-cli-fastboot-testing/test-support';

module('FastBoot | basic', function (hooks) {
setup(hooks);

test('it renders a page...', async function (assert) {
let { htmlDocument } = await visit('/');

assert.dom('body', htmlDocument).hasText('bar');
});
});

0 comments on commit 536790c

Please sign in to comment.