Test component with actions
beforeEach(() => {
const actions = ... // Create actions see example above
component = new TodoComponent();
});const actions = ... // Create actions see example above
ReactStateTestBed.setActionsToComponent(actions, component);
expect(component.actions.todoDescription).toEqual('test description');Last updated