fix: integration tests modules expectations (#6848)

**What**
- fix tests
- cleanup deprecated jest conf
This commit is contained in:
Adrien de Peretti
2024-03-27 15:39:20 +00:00
committed by GitHub
parent 5d9aea053c
commit d4d1f9b2f2
41 changed files with 41 additions and 63 deletions
@@ -70,7 +70,6 @@ moduleIntegrationTestRunner({
name: "campaign 1",
budget: expect.objectContaining({
id: expect.any(String),
campaign: expect.any(Object),
limit: 1000,
}),
},
@@ -958,7 +958,6 @@ moduleIntegrationTestRunner({
code: "PROMOTION_1",
application_method: {
id: expect.any(String),
promotion: expect.any(Object),
type: "fixed",
},
},
+1 -1
View File
@@ -10,7 +10,7 @@ module.exports = {
"^.+\\.[jt]s?$": [
"ts-jest",
{
tsConfig: "tsconfig.spec.json",
tsconfig: "tsconfig.spec.json",
isolatedModules: true,
},
],