Skip to content

Commit

Permalink
allow other svg attributes in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Silvester committed Feb 3, 2020
1 parent 947f932 commit 282584c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test-ui-components/src/labicon.spec.ts
Expand Up @@ -16,7 +16,7 @@ describe('@jupyterlab/ui-components', () => {
it('should hold a string with the raw contents of an svg', () => {
expect(fooSvgstr).to.be.string;
expect(
fooSvgstr.startsWith(`<svg width="24" height="24" viewBox="0 0 24 24">`)
fooSvgstr.startsWith(`<svg width="24" height="24" viewBox="0 0 24 24"`)
).to.be.true;
});
});
Expand All @@ -27,7 +27,7 @@ describe('@jupyterlab/ui-components', () => {
expect(fooIcon.svgstr).to.be.string;
expect(
fooIcon.svgstr.startsWith(
`<svg width="24" height="24" viewBox="0 0 24 24">`
`<svg width="24" height="24" viewBox="0 0 24 24"`
)
).to.be.true;
});
Expand Down

0 comments on commit 282584c

Please sign in to comment.