File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,9 @@ import { JSDOM } from "jsdom"
2
2
import { LocationLike } from "../../unit/util.test"
3
3
4
4
describe ( "login" , ( ) => {
5
- // TODO test for when el is defined
6
5
describe ( "there is an element with id 'base'" , ( ) => {
7
- // let initialDom: Document
8
6
beforeEach ( ( ) => {
9
7
const dom = new JSDOM ( )
10
- // initialDom = dom.window.document
11
8
global . document = dom . window . document
12
9
13
10
const location : LocationLike = {
@@ -36,7 +33,6 @@ describe("login", () => {
36
33
spy . mockImplementation ( ( ) => mockElement )
37
34
// Load file
38
35
require ( "../../../src/browser/pages/login" )
39
- // Called once by getOptions and the second in
40
36
41
37
const el : HTMLInputElement | null = document . querySelector ( "input#base" )
42
38
expect ( el ?. value ) . toBe ( "/hello-world" )
You can’t perform that action at this time.
0 commit comments