2021-07-23 12:32:58 +02:00
|
|
|
import { fixtures } from '../../../../../../../admin-test-utils';
|
2021-07-21 20:08:17 +02:00
|
|
|
import { select{{name}}Domain } from '../selectors';
|
|
|
|
|
|
|
|
describe('select{{name}}Domain', () => {
|
|
|
|
let store;
|
|
|
|
|
|
|
|
beforeEach(() => {
|
2021-07-22 14:10:54 +02:00
|
|
|
store = { ...fixtures.store.state, '{{plugin}}_{{camelCase name}}': {} };
|
2021-07-21 20:08:17 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
it('expects to have unit tests specified', () => {
|
|
|
|
const actual = select{{name}}Domain(store);
|
|
|
|
|
|
|
|
// TBC
|
2021-07-22 14:10:54 +02:00
|
|
|
expect(actual).toEqual(store['{{plugin}}_{{camelCase name}}']);
|
2021-07-21 20:08:17 +02:00
|
|
|
});
|
|
|
|
});
|