Skip to content

Commit

Permalink
Move audioPlayer duck test
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn-Signal committed Mar 24, 2021
1 parent 77c3068 commit b44bf33
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import { noopAction } from '../../../state/ducks/noop';

import { StateType, reducer as rootReducer } from '../../../state/reducer';

describe('both/state/selectors/search', () => {
describe('both/state/ducks/audioPlayer', () => {
const getEmptyRootState = (): StateType => {
return rootReducer(undefined, noopAction());
};

describe('setActiveAudioId', () => {
describe('setActiveAudioID', () => {
it("updates `activeAudioID` in the audioPlayer's state", () => {
const state = getEmptyRootState();
assert.strictEqual(state.audioPlayer.activeAudioID, undefined);
Expand Down

0 comments on commit b44bf33

Please sign in to comment.