From 93cf9ba40b2b0769611b2036279879d9de546e01 Mon Sep 17 00:00:00 2001 From: Philippe Perrin Date: Tue, 17 Mar 2020 12:57:00 +0100 Subject: Fix eslint's issues --- server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/sonar-docs/src/__tests__') diff --git a/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js b/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js index 19fe460df4c..f0af6865816 100644 --- a/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js +++ b/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js @@ -66,7 +66,7 @@ it('should have valid links in trees files', () => { }; tree.forEach(walk); }); - expect(hasErrors).toBeFalsy(); + expect(hasErrors).toBe(false); }); it('should have valid links in suggestions file', () => { @@ -84,7 +84,7 @@ it('should have valid links in suggestions file', () => { } }); }); - expect(hasErrors).toBeFalsy(); + expect(hasErrors).toBe(false); }); it('should have valid and uniq links in url metadata field', () => { @@ -103,7 +103,7 @@ it('should have valid and uniq links in url metadata field', () => { urlLists = [...urlLists, file.frontmatter.url]; }); - expect(hasErrors).toBeFalsy(); + expect(hasErrors).toBe(false); }); it('should have valid links pointing to documentation inside pages', () => { @@ -146,7 +146,7 @@ function checkContentUrl(files) { } }); }); - expect(hasErrors).toBeFalsy(); + expect(hasErrors).toBe(false); } function urlExists(files, url) { -- cgit v1.2.3