meilisearch-admin/tests/integration/helpers/obj-to-array-test.js
2022-08-29 14:30:47 +03:00

17 lines
529 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 | obj-to-array', function (hooks) {
setupRenderingTest(hooks);
// TODO: Replace this with your real tests.
test('it renders', async function (assert) {
this.set('inputValue', '1234');
await render(hbs`{{obj-to-array this.inputValue}}`);
assert.dom(this.element).hasText('1234');
});
});