diff --git a/playground/jest.config.js b/playground/jest.config.js new file mode 100644 index 0000000..7891cc8 --- /dev/null +++ b/playground/jest.config.js @@ -0,0 +1,7 @@ +module.exports = { + name: 'Integration test', + testMatch: ['**/__tests__/?(*.)+(spec|test).js'], + transform: {}, + coverageDirectory: '../coverage/', + collectCoverage: true, +}; diff --git a/playground/package.json b/playground/package.json index 47976b0..374927d 100644 --- a/playground/package.json +++ b/playground/package.json @@ -10,7 +10,11 @@ "strapi": "strapi", "cs": "config-sync" }, - "devDependencies": {}, + "devDependencies": { + "jest": "^29.7.0", + "jest-cli": "^29.7.0", + "supertest": "^6.3.3" + }, "dependencies": { "@strapi/strapi": "5.0.0-beta.2", "@strapi/plugin-users-permissions": "5.0.0-beta.2",