fix: add testing libraries to the playground

pull/126/head
Boaz Poolman 2024-05-08 21:45:04 +02:00
parent fd63444630
commit 5ad9e8f0f6
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,7 @@
module.exports = {
name: 'Integration test',
testMatch: ['**/__tests__/?(*.)+(spec|test).js'],
transform: {},
coverageDirectory: '../coverage/',
collectCoverage: true,
};

View File

@ -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",