demo_frontend
Version:
Internet Computer starter application
18 lines (13 loc) • 498 B
JavaScript
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Helper | code', function(hooks) {
setupRenderingTest(hooks);
// TODO: Replace this with your real tests.
test('it renders', async function(assert) {
this.set('inputValue', '1234');
await render(hbs`{{code this.inputValue}}`);
assert.dom(this.element).hasText('1234');
});
});