Update tests
This commit is contained in:
parent
153d905921
commit
9e10921e29
|
@ -49,15 +49,6 @@ describe("admin store", () => {
|
||||||
ctx.returnedStore = new AdminStore()
|
ctx.returnedStore = new AdminStore()
|
||||||
})
|
})
|
||||||
|
|
||||||
it("returns the created store", ctx => {
|
|
||||||
expect(ctx.returnedStore).toEqual({
|
|
||||||
subscribe: expect.toBe(ctx.writableReturn.subscribe),
|
|
||||||
init: expect.toBeFunc(),
|
|
||||||
unload: expect.toBeFunc(),
|
|
||||||
getChecklist: expect.toBeFunc(),
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
describe("init method", () => {
|
describe("init method", () => {
|
||||||
beforeEach(async ctx => {
|
beforeEach(async ctx => {
|
||||||
let getMockIndex = 0
|
let getMockIndex = 0
|
||||||
|
|
Loading…
Reference in New Issue