-
- test('There should be no topic actions by default', () => {
-
- topicActions.subscribe((actions) => {
-
- expect(actions).toBe(undefined);
- })();
- });
-
- test('enableTopicActions should set the topic id', () => {
-
- enableTopicActions('free_hat');
- topicActions.subscribe((actions) => {
-
- expect(actions).toEqual({
- id: 'free_hat'
- });
- })();
- });
-
- test('disableTopicActions should unset the topic id', () => {
-
- disableTopicActions();
- topicActions.subscribe((actions) => {
-
- expect(actions).toEqual(undefined);
- })();
- });
+ test('There should be no topic actions by default', () => {
+ topicActions.subscribe((actions) => {
+ expect(actions).toBe(undefined);
+ })();
+ });
+
+ test('enableTopicActions should set the topic id', () => {
+ enableTopicActions('free_hat');
+ topicActions.subscribe((actions) => {
+ expect(actions).toEqual({
+ id: 'free_hat'
+ });
+ })();
+ });
+
+ test('disableTopicActions should unset the topic id', () => {
+ disableTopicActions();
+ topicActions.subscribe((actions) => {
+ expect(actions).toEqual(undefined);
+ })();
+ });