Skip to content

Commit

Permalink
Merge pull request #1213 from christophercr/bugfix/jasmine-typings-fixes
Browse files Browse the repository at this point in the history
test(stark-all): fix last TSLint error in Showcase unit tests after upgrade of @types/jasmine to v3.3.12
  • Loading branch information
christophercr authored Mar 21, 2019
2 parents b0f350e + b155b34 commit e931b15
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/stark-core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/stark-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions showcase/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe("TableOfContents", () => {
{ innerText: "second link", offsetTop: 50, tagName: "SECOND", id: "2" }
];

spyOn(document, "querySelectorAll").and.returnValue(headerSelector);
spyOn(document, "querySelectorAll").and.returnValue(<NodeListOf<HTMLElement>><unknown>headerSelector);

const expectedFirstLink: TableOfContentLink = { name: "first link", type: "first", top: 5, id: "1", active: false };
const expectedSecondLink: TableOfContentLink = { name: "second link", type: "second", top: 30, id: "2", active: false };
Expand Down

0 comments on commit e931b15

Please sign in to comment.