aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js')
-rw-r--r--server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js8
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) {