Skip to content

Commit

Permalink
[#IOPID-1845] Move io-ts and fp-ts in peerDependency (#163)
Browse files Browse the repository at this point in the history
* [#IOPID-1845] Move io-ts and fp-ts in peerDependency

* [#IOPID-1845] Increase timeout async check into tests
  • Loading branch information
BurnedMarshal committed May 13, 2024
1 parent fd6878f commit 3ad80d4
Show file tree
Hide file tree
Showing 3 changed files with 377 additions and 46 deletions.
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
"@types/xml-crypto": "^1.4.1",
"@types/xml2js": "^0.4.5",
"@types/yargs": "^15.0.4",
"fp-ts": "^2.16.5",
"io-ts": "^2.2.21",
"auto-changelog": "^2.2.1",
"eslint-plugin-prettier": "^4.2.1",
"express": "4.17.0",
Expand All @@ -53,11 +55,9 @@
"typescript": "4.9.5"
},
"dependencies": {
"@pagopa/ts-commons": "^12.0.0",
"@pagopa/ts-commons": "^13.1.0",
"@xmldom/xmldom": "^0.8.7",
"date-fns": "^1.30.1",
"fp-ts": "2.14.0",
"io-ts": "2.2.20",
"io-ts-types": "^0.5.16",
"jose": "^4.11.2",
"node-fetch": "^2.2.0",
Expand All @@ -71,6 +71,10 @@
"xml2js": "^0.4.23",
"yargs": "^15.3.0"
},
"peerDependencies": {
"fp-ts": "^2.16.5",
"io-ts": "^2.2.21"
},
"jest": {
"testEnvironment": "node",
"collectCoverage": true,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/__tests__/saml.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe("preValidateResponse", () => {
? expect(callback).toBeCalledWith(toError(error.message))
: expect(callback).toBeCalledWith(null, true, expect.any(String));
resolve(void 0);
}, 100);
}, 200);
});

beforeEach(() => {
Expand Down
Loading

0 comments on commit 3ad80d4

Please sign in to comment.