diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-09-26 14:15:49 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-09-26 16:12:58 +0900 |
commit | e1b4a2dc6763966628bc4a29838c48022cd5b4e5 (patch) | |
tree | 7cb5526ebf468720cc23846ed99b3aca5fe459a8 /test/content/presenters | |
parent | 645107c3fcc967e8b5824355c23287611d864612 (diff) |
Use jsdom environment on html test
Diffstat (limited to 'test/content/presenters')
-rw-r--r-- | test/content/presenters/Hint.test.ts | 4 | ||||
-rw-r--r-- | test/content/presenters/NavigationPresenter.test.ts | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/content/presenters/Hint.test.ts b/test/content/presenters/Hint.test.ts index 1a7c868..e9be2d5 100644 --- a/test/content/presenters/Hint.test.ts +++ b/test/content/presenters/Hint.test.ts @@ -1,3 +1,7 @@ +/** + * @jest-environment jsdom + */ + import AbstractHint, { LinkHint, InputHint, diff --git a/test/content/presenters/NavigationPresenter.test.ts b/test/content/presenters/NavigationPresenter.test.ts index 8d003c4..74466ae 100644 --- a/test/content/presenters/NavigationPresenter.test.ts +++ b/test/content/presenters/NavigationPresenter.test.ts @@ -1,3 +1,7 @@ +/** + * @jest-environment jsdom + */ + import { NavigationPresenterImpl } from "../../../src/content/presenters/NavigationPresenter"; import { expect } from "chai"; |