diff --git a/package-lock.json b/package-lock.json index b03c5824a5..f0c6c90ebd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -94,7 +94,6 @@ "eslint-plugin-json": "^3.1.0", "eslint-plugin-sonarjs": "^0.19.0", "eslint-plugin-unicorn": "^46.0.1", - "fast-json-stable-stringify": "^2.1.0", "glob": "^10.3.3", "http-terminator": "^3.2.0", "husky": "^8.0.3", diff --git a/package.json b/package.json index 699063025c..54367babeb 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,6 @@ "eslint-plugin-json": "^3.1.0", "eslint-plugin-sonarjs": "^0.19.0", "eslint-plugin-unicorn": "^46.0.1", - "fast-json-stable-stringify": "^2.1.0", "glob": "^10.3.3", "http-terminator": "^3.2.0", "husky": "^8.0.3", diff --git a/test/integrations/testUtils.ts b/test/integrations/testUtils.ts index 1f7893de38..9b65e76c92 100644 --- a/test/integrations/testUtils.ts +++ b/test/integrations/testUtils.ts @@ -1,7 +1,6 @@ import { globSync } from 'glob'; import { join } from 'path'; import { MockHttpCallsData, TestCaseData } from './testTypes'; -import stringify from 'fast-json-stable-stringify'; export const getTestDataFilePaths = (dirPath: string, destination: string = ''): string[] => { const globPattern = join(dirPath, '**', 'data.ts'); diff --git a/test/testHelper.js b/test/testHelper.js index a747252f87..5fe97fed67 100644 --- a/test/testHelper.js +++ b/test/testHelper.js @@ -1,6 +1,5 @@ const fs = require('fs'); const path = require('path'); -const stringify = require('fast-json-stable-stringify'); const getFuncTestData = (dirPath, filePath) => { const fileData = fs.readFileSync(path.resolve(dirPath, filePath)); @@ -16,7 +15,7 @@ const setResponsesForMockAxiosAdapter = ({url, method, data, options}, {response if (data) { reqObj.data = data } - responses.push(`{httpReq: ${stringify(reqObj)},httpRes: ${stringify(response)}},`) + responses.push(`{httpReq: ${JSON.stringify(reqObj)},httpRes: ${JSON.stringify(response)}},`) } } module.exports = {