mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-28 20:40:39 +00:00
Fix tests
This commit is contained in:
parent
3d5aeac35b
commit
a471d80f51
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import React from "react";
|
||||
import { Provider } from "react-redux";
|
||||
import renderer from "react-test-renderer";
|
||||
import Emitter from "../../emitter";
|
||||
import getStore from "../../store";
|
||||
import { loadMediaFiles } from "../../actionCreators";
|
||||
|
||||
|
|
@ -17,7 +18,7 @@ const media = {
|
|||
describe("PlaylistShade", () => {
|
||||
let store;
|
||||
beforeEach(() => {
|
||||
store = getStore(media);
|
||||
store = getStore(media, new Emitter());
|
||||
});
|
||||
|
||||
it("renders to snapshot", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue