diff --git a/libs/data-access/cosmos/jest.config.ts b/libs/data-access/cosmos/jest.config.ts index 8736b93ca..58d98d3b7 100644 --- a/libs/data-access/cosmos/jest.config.ts +++ b/libs/data-access/cosmos/jest.config.ts @@ -4,7 +4,7 @@ import { readFileSync } from 'fs'; // Reading the SWC compilation config and remove the "exclude" // for the test files to be compiled by SWC const { exclude: _, ...swcJestConfig } = JSON.parse( - readFileSync(`${__dirname}/.swcrc`, 'utf-8'), + readFileSync(`${__dirname}/.swcrc`, 'utf8'), ); // disable .swcrc look-up by SWC core because we're passing in swcJestConfig ourselves. diff --git a/libs/data-access/falconer/jest.config.ts b/libs/data-access/falconer/jest.config.ts index e46349e36..5b9cdb97f 100644 --- a/libs/data-access/falconer/jest.config.ts +++ b/libs/data-access/falconer/jest.config.ts @@ -4,7 +4,7 @@ import { readFileSync } from 'fs'; // Reading the SWC compilation config and remove the "exclude" // for the test files to be compiled by SWC const { exclude: _, ...swcJestConfig } = JSON.parse( - readFileSync(`${__dirname}/.swcrc`, 'utf-8'), + readFileSync(`${__dirname}/.swcrc`, 'utf8'), ); // disable .swcrc look-up by SWC core because we're passing in swcJestConfig ourselves.