Skip to content

Commit f46f277

Browse files
committed
test: Fix test case error.
1 parent 875056f commit f46f277

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
"react-app/jest"
3131
]
3232
},
33+
"jest": {
34+
"transformIgnorePatterns": [
35+
"<rootDir>/node_modules/@uiw/react-github-corners"
36+
]
37+
},
3338
"browserslist": {
3439
"production": [
3540
">0.2%",

src/App.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { Button } from 'uiw';
1+
// import { Button } from 'uiw';
2+
import Button from '@uiw/react-button';
23
import GitHubCorners from '@uiw/react-github-corners';
34
import logo from './logo.svg';
45
import './App.css';

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,9 +2040,9 @@
20402040
integrity sha512-3tt7FVSbjtBCNBhffy7k26rpnEmk8GQj9QkTGZBIfpHU7mG3Buryt69u6xooYM7/gmv7GIqD4QxxIauIp2HHKg==
20412041

20422042
"@uiw/formatter@~1.3.2":
2043-
version "1.3.2"
2044-
resolved "https://registry.yarnpkg.com/@uiw/formatter/-/formatter-1.3.2.tgz#de12b79d57c5eb38d8683d3ae90e300c00f7b88a"
2045-
integrity sha512-wzF0g72M/bQgypu8JqA0U1mb30KUQYNneKLoiMc8d6hHGog+dT/8uwWOjcaIPK9bjIz2Z8NBY9lS2S3tHktN4A==
2043+
version "1.3.3"
2044+
resolved "https://registry.yarnpkg.com/@uiw/formatter/-/formatter-1.3.3.tgz#6d320ec039488e6b744419ff254720639ccb8de0"
2045+
integrity sha512-kqlhUD7bhMcUOo8Ou0jfO0OQqh4YdKVq/wfZsuDM5RFA7rw/1URlPyraBee0fs+xSCD1RgE+x95KzVqivuwMAQ==
20462046

20472047
"@uiw/github-corners@1.5.14":
20482048
version "1.5.14"

0 commit comments

Comments
 (0)