From 7d78d57a4f41ec650b4baf982dfd5f9ae303cc05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20F=C3=A4cke?= Date: Wed, 21 Aug 2019 19:15:45 +0200 Subject: [PATCH] fix linting errors for standard@14 --- test/stackParser.test.js | 2 +- test/test.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/stackParser.test.js b/test/stackParser.test.js index e62d7c6..7d560f9 100644 --- a/test/stackParser.test.js +++ b/test/stackParser.test.js @@ -39,7 +39,7 @@ at TAP.process (/home/leonardo/desktop/fastify-plugin/node_modules/tap/lib/test. at TAP.sub (/home/leonardo/desktop/fastify-plugin/node_modules/tap/lib/test.js:185:10) at TAP.test (/home/leonardo/desktop/fastify-plugin/node_modules/tap/lib/test.js:209:17)` -const anonymousStack = `Unable to parse this` +const anonymousStack = 'Unable to parse this' t.plan(3) diff --git a/test/test.js b/test/test.js index 3d97a0a..a5c558d 100644 --- a/test/test.js +++ b/test/test.js @@ -236,7 +236,7 @@ test('should check fastify dependency graph - plugin', t => { })) fastify.ready(err => { - t.is(err.message, `The dependency 'plugin2-name' of plugin 'test' is not registered`) + t.is(err.message, "The dependency 'plugin2-name' of plugin 'test' is not registered") }) }) @@ -256,7 +256,7 @@ test('should check fastify dependency graph - decorate', t => { })) fastify.ready(err => { - t.is(err.message, `The decorator 'plugin2' is not present in Fastify`) + t.is(err.message, "The decorator 'plugin2' is not present in Fastify") }) }) @@ -276,6 +276,6 @@ test('should check fastify dependency graph - decorateReply', t => { })) fastify.ready(err => { - t.is(err.message, `The decorator 'plugin2' is not present in Reply`) + t.is(err.message, "The decorator 'plugin2' is not present in Reply") }) })