meilisearch-admin/tests/integration/helpers/mul-test.js
Stanislav Romanov f15caa1438 Fix tests
2022-10-24 11:52:31 +03:00

17 lines
505 B
JavaScript

import { module, test } from 'qunit';
import { setupRenderingTest } from 'meiliadmin/tests/helpers';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Helper | mul', function (hooks) {
setupRenderingTest(hooks);
// TODO: Replace this with your real tests.
test('it renders', async function (assert) {
this.set('inputValue', 2);
await render(hbs`{{mul this.inputValue 3}}`);
assert.dom(this.element).hasText('6');
});
});