Skip to content

Commit

Permalink
111
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Feb 22, 2024
1 parent 27b6e67 commit aa9138f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"site:deploy": "gh-pages -d site",
"postpublish": "npm run sync:other-npm",
"sync:other-npm": "node -e 'require(\"./scripts/sync-cnpm-and-tnpm\")()'",
"test": "cross-env TZ=UTC vitest",
"test": "cross-env TZ=UTC vitest && vitest tests/__tests__/demo.test.ts",
"test:coverage": "cross-env TZ=UTC TEST_LOG=none vitest --coverage",
"test:update": "cross-env TZ=UTC vitest -u",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('ConfigProvider theme with ThemeProvider', () => {
};
const Child3 = () => {
const { token } = useToken();
expect(token.colorBgLayout).toBe('#ff0000');
expect(token.colorBgLayout).toBe(defaultTheme.token.colorBgLayout);
return <PageContainer />;
};
render(
Expand Down

0 comments on commit aa9138f

Please sign in to comment.