diff options
Diffstat (limited to 'test/content/presenters/NavigationPresenter.test.ts')
-rw-r--r-- | test/content/presenters/NavigationPresenter.test.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/content/presenters/NavigationPresenter.test.ts b/test/content/presenters/NavigationPresenter.test.ts index 74466ae..c377df4 100644 --- a/test/content/presenters/NavigationPresenter.test.ts +++ b/test/content/presenters/NavigationPresenter.test.ts @@ -5,9 +5,7 @@ import { NavigationPresenterImpl } from "../../../src/content/presenters/NavigationPresenter"; import { expect } from "chai"; -describe("NavigationPresenterImpl", function () { - this.timeout(5000); - +describe("NavigationPresenterImpl", () => { let sut: NavigationPresenterImpl; const testRel = (done: () => void, rel: string, html: string) => { @@ -25,7 +23,7 @@ describe("NavigationPresenterImpl", function () { const testNext = (html: string) => (done: () => void) => testRel(done, "next", html); - before(() => { + beforeEach(() => { sut = new NavigationPresenterImpl(); }); |