Move audioPlayer duck test
This commit is contained in:
parent
77c306843d
commit
b44bf33256
1 changed files with 2 additions and 2 deletions
|
@ -8,12 +8,12 @@ import { noopAction } from '../../../state/ducks/noop';
|
||||||
|
|
||||||
import { StateType, reducer as rootReducer } from '../../../state/reducer';
|
import { StateType, reducer as rootReducer } from '../../../state/reducer';
|
||||||
|
|
||||||
describe('both/state/selectors/search', () => {
|
describe('both/state/ducks/audioPlayer', () => {
|
||||||
const getEmptyRootState = (): StateType => {
|
const getEmptyRootState = (): StateType => {
|
||||||
return rootReducer(undefined, noopAction());
|
return rootReducer(undefined, noopAction());
|
||||||
};
|
};
|
||||||
|
|
||||||
describe('setActiveAudioId', () => {
|
describe('setActiveAudioID', () => {
|
||||||
it("updates `activeAudioID` in the audioPlayer's state", () => {
|
it("updates `activeAudioID` in the audioPlayer's state", () => {
|
||||||
const state = getEmptyRootState();
|
const state = getEmptyRootState();
|
||||||
assert.strictEqual(state.audioPlayer.activeAudioID, undefined);
|
assert.strictEqual(state.audioPlayer.activeAudioID, undefined);
|
Loading…
Add table
Add a link
Reference in a new issue