Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(() => {
sundayTimesArticleWithThreeRelatedArticles = new MockArticle()
.sundayTimes()
.setRelatedArticles(relatedArticleCount)
.setTemplate(template)
.get();
userWithBookmarks = new MockUser().setBookmarksTotal(3);
});
beforeEach(() => {
sundayTimesArticleWithThreeRelatedArticles = new MockArticle()
.sundayTimes()
.setRelatedArticles(relatedArticleCount)
.setTemplate(template)
.get();
userWithBookmarks = new MockUser().setBookmarksTotal(3);
});