Skip to content

Commit 39730ee

Browse files
committed
fix intialState for clipboard tests
1 parent 9332ce6 commit 39730ee

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

__tests__/React Unit Testing/testClipboard.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ import { BrowserRouter } from 'react-router-dom';
99
const initialState = {
1010
clipboard:{
1111
server: '',
12+
},
13+
userInfo: {
14+
projectsInfo: [],
1215
}
1316
};
1417

dist/dist/bundle.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dist/bundle.js.LICENSE.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*! js-cookie v3.0.1 | MIT */
22

3+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
4+
35
/**
46
* @license React
57
* react-dom.production.min.js

0 commit comments

Comments
 (0)