Skip to content

Commit a55a6e1

Browse files
committed
Fix ESLint errors
1 parent 54caf26 commit a55a6e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/static.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ describe('static check meta tags', function () {
279279
});
280280
});
281281

282-
it('jsonLD - invalid JSON string that cannot be parsed does not throw error', function () {
282+
it('jsonLD - invalid JSON string that cannot be parsed does not throw error', function () {
283283
const metaHTML = `<html><head>
284284
<script type="application/ld+json">
285285
{
@@ -316,7 +316,7 @@ describe('static check meta tags', function () {
316316
});
317317
});
318318

319-
it('jsonLD - invalid JSON string that cannot be parsed throws error when options.jsonLDOptions.throwOnJSONParseError = true', function () {
319+
it('jsonLD - invalid JSON string that cannot be parsed throws error when options.jsonLDOptions.throwOnJSONParseError = true', function () {
320320
const metaHTML = `<html><head>
321321
<script type="application/ld+json">
322322
{
@@ -343,7 +343,7 @@ describe('static check meta tags', function () {
343343
.intercept({ path: '/' })
344344
.reply(200, metaHTML);
345345

346-
return ogs({ url: 'www.test.com', jsonLDOptions: {throwOnJSONParseError: true} }).catch((data) => {
346+
return ogs({ url: 'www.test.com', jsonLDOptions: { throwOnJSONParseError: true } }).catch((data) => {
347347
expect(data.result.success).to.be.eql(false);
348348
});
349349
});

0 commit comments

Comments
 (0)