aboutsummaryrefslogtreecommitdiff
path: root/playground/jest.config.cjs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-02-05 18:38:25 +0300
committerValentin Popov <valentin@popov.link>2026-02-05 18:38:48 +0300
commitee32dedf61e2d2ab6704fd40eec2a9e436f2114f (patch)
tree2187c5908e71dff43061a1fa71be26e43f53bbee /playground/jest.config.cjs
parent0c71c44599f4a0738c9819e3ea578bca4609ff12 (diff)
downloadstrapi-plugin-checkbox-list-ee32dedf61e2d2ab6704fd40eec2a9e436f2114f.tar.xz
strapi-plugin-checkbox-list-ee32dedf61e2d2ab6704fd40eec2a9e436f2114f.zip
Enhance testing and integration for checkbox-list custom field
- Updated Gitea workflow to trigger on pushes to the master branch and refined job configurations for testing and E2E processes. - Added Jest and Playwright configurations for integration and E2E testing. - Introduced new checkbox-item API with corresponding controller, service, and routes. - Created integration tests for the checkbox-list functionality, ensuring proper handling of required fields and default values. - Updated package.json and package-lock.json to include necessary dependencies for testing.
Diffstat (limited to 'playground/jest.config.cjs')
-rw-r--r--playground/jest.config.cjs6
1 files changed, 6 insertions, 0 deletions
diff --git a/playground/jest.config.cjs b/playground/jest.config.cjs
new file mode 100644
index 0000000..168ad5c
--- /dev/null
+++ b/playground/jest.config.cjs
@@ -0,0 +1,6 @@
+module.exports = {
+ testEnvironment: 'node',
+ testMatch: ['<rootDir>/tests/integration/**/*.test.js'],
+ testTimeout: 120000,
+ verbose: true,
+};