diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2020-03-17 12:57:00 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-04-08 20:03:18 +0000 |
commit | 93cf9ba40b2b0769611b2036279879d9de546e01 (patch) | |
tree | 87851ab65349c8685d5b852fed749cb9d3c1ee0b /server/sonar-docs/src/__tests__ | |
parent | 1079262251f6118a44a5209efdaab75f26086d33 (diff) | |
download | sonarqube-93cf9ba40b2b0769611b2036279879d9de546e01.tar.gz sonarqube-93cf9ba40b2b0769611b2036279879d9de546e01.zip |
Fix eslint's issues
Diffstat (limited to 'server/sonar-docs/src/__tests__')
-rw-r--r-- | server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |