Skip to content

Commit 4efebad

Browse files
Copilotjbampton
andauthored
test: add comprehensive test suite (80 tests across 3 files)
Agent-Logs-Url: https://github.com/NextCommunity/NextCommunity.github.io/sessions/8c63e0cf-cc37-4897-93f8-a6195aad77f3 Co-authored-by: jbampton <418747+jbampton@users.noreply.github.com>
1 parent ae907e0 commit 4efebad

File tree

6 files changed

+5533
-505
lines changed

6 files changed

+5533
-505
lines changed

jest.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/** @type {import('jest').Config} */
2+
module.exports = {
3+
testEnvironment: "node",
4+
testMatch: ["**/tests/**/*.test.js"],
5+
coverageDirectory: "coverage",
6+
collectCoverageFrom: ["src/_data/**/*.js", ".eleventy.js"],
7+
};

0 commit comments

Comments
 (0)