Files
Fleetbase-Mirror-Repo/console/tests/integration/helpers/spread-widget-options-test.js
2024-02-02 20:51:48 +08:00

18 lines
563 B
JavaScript

import { module, test } from 'qunit';
import { setupRenderingTest } from '@fleetbase/console/tests/helpers';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Helper | spread-widget-options', function (hooks) {
setupRenderingTest(hooks);
// TODO: Replace this with your real tests.
test('it renders', async function (assert) {
this.set('inputValue', '1234');
await render(hbs`{{spread-widget-options this.inputValue}}`);
assert.dom().hasText('1234');
});
});