Skip to content

Commit

Permalink
fix: upgrade pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
nghaninn committed Feb 14, 2025
1 parent 4e835c3 commit 43f5b5b
Show file tree
Hide file tree
Showing 6 changed files with 3,259 additions and 5,059 deletions.
1 change: 1 addition & 0 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const preview: Preview = {
},
},
},
tags: ['autodocs'],
};

export default preview;
18 changes: 7 additions & 11 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
verbose: true,
testEnvironment: "jsdom",
collectCoverage: false,
collectCoverageFrom: [
Expand All @@ -13,26 +15,20 @@ module.exports = {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"<rootDir>/_mocks_/fileMock.js",
"\\.(css|sass|scss)$": "identity-obj-proxy",
"@tradetrust-tt/token-registry/contracts": "<rootDir>/node_modules/@tradetrust-tt/token-registry/dist/contracts",
},
testMatch: ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)test.[jt]s?(x)"],
testPathIgnorePatterns: ["<rootDir>/node_modules/"],
setupFilesAfterEnv: ["<rootDir>/jest.setup.ts"],
transform: {
"^.+\\.ts?$": [
".(ts|tsx)": [
"ts-jest",
{
useESM: true,
tsconfig: {
moduleResolution: "node",
},
},
],
"^.+\\.tsx?$": [
"ts-jest",
{
useESM: true,
},
],
"^.+\\.js?$": "babel-jest",
"^.+\\.jsx?$": "babel-jest",
"\\.(d\\.ts|[jt]sx?)$": "ts-jest",
},
transformIgnorePatterns: [
"node_modules/(?!(nanoid|uuid|@tradetrust-tt/tradetrust|@tradetrust-tt/token-registry)/)",
Expand Down
Loading

0 comments on commit 43f5b5b

Please sign in to comment.