Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
RyotaSugawara committed Jul 27, 2018
1 parent 3572709 commit 6754409
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/index.browser.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ test('Client Side Rendering', (t) => {
document.querySelector<HTMLLinkElement>(`link[href="${CSS_FILE_3}"]`).onerror(this);
t.is(document.getElementById('test_3').innerHTML, '<span>error</span>');

t.is(
document.head.innerHTML,
'<link href="https://necolas.github.io/normalize.css/8.0.0/normalize.css" rel="stylesheet" data-react-css-context="true"><link href="https://necolas.github.io/normalize.css/7.0.0/normalize.css" rel="stylesheet" data-react-css-context="true"><link href="https://necolas.github.io/normalize.css/6.0.0/normalize.css" rel="stylesheet" data-react-css-context="true">'
);
/* tslint:disable:max-line-length */
const snapshot = '<link href="https://necolas.github.io/normalize.css/8.0.0/normalize.css" rel="stylesheet" data-react-css-context="true"><link href="https://necolas.github.io/normalize.css/7.0.0/normalize.css" rel="stylesheet" data-react-css-context="true"><link href="https://necolas.github.io/normalize.css/6.0.0/normalize.css" rel="stylesheet" data-react-css-context="true">';
/* tslint:enable:max-line-length */

t.is(document.head.innerHTML, snapshot);
});

0 comments on commit 6754409

Please sign in to comment.