18 lines
482 B
Handlebars
Raw Normal View History

import { fixtures } from '../../../../../../../admin-test-utils';
2022-07-29 13:45:20 +02:00
import { select{{ name }}Domain } from '../selectors';
2021-07-21 20:08:17 +02:00
2022-07-29 13:45:20 +02:00
describe('select{{ name }}Domain', () => {
2021-07-21 20:08:17 +02:00
let store;
beforeEach(() => {
2022-07-30 09:16:19 +02:00
store = { ...fixtures.store.state, '{{ plugin }}_{{ camelCase name }}': {} };
2021-07-21 20:08:17 +02:00
});
it('expects to have unit tests specified', () => {
2022-07-29 13:45:20 +02:00
const actual = select{{ name }}Domain(store);
2021-07-21 20:08:17 +02:00
// TBC
2022-07-30 09:16:19 +02:00
expect(actual).toEqual(store['{{ plugin }}_{{ camelCase name }}']);
2021-07-21 20:08:17 +02:00
});
});