Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
11c9d642
Commit
11c9d642
authored
Jan 08, 2021
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: test
parent
e74a2d58
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
2 deletions
+41
-2
lerna.json
lerna.json
+1
-1
README.md
packages/test/README.md
+11
-0
package.json
packages/test/package.json
+26
-0
index.js
packages/test/src/index.js
+3
-0
setupTests.js
tests/setupTests.js
+0
-1
No files found.
lerna.json
View file @
11c9d642
...
...
@@ -3,7 +3,7 @@
"npmClient"
:
"npm"
,
"useWorkspaces"
:
true
,
"changelog"
:
{
"repo"
:
"
test
/winsdom-components"
,
"repo"
:
"
panda
/winsdom-components"
,
"cacheDir"
:
".changelog"
},
"ignoreChanges"
:
[
"**/*.md"
,
"**/*.test.js"
,
"**/*.e2e.js"
,
"**/fixtures/**"
,
"**/test/**"
]
...
...
packages/test/README.md
0 → 100644
View file @
11c9d642
# `@winsdom-components/test`
> TODO: description
## Usage
```
const test = require('@winsdom-components/test');
// TODO: DEMONSTRATE API
```
packages/test/package.json
0 → 100644
View file @
11c9d642
{
"name"
:
"@winsdom-components/test"
,
"version"
:
"1.0.0"
,
"description"
:
"> TODO: description"
,
"author"
:
"dengxiaofeng <1186313486@qq.com>"
,
"homepage"
:
""
,
"license"
:
"ISC"
,
"main"
:
"lib/test.js"
,
"directories"
:
{
"lib"
:
"lib"
,
"test"
:
"__tests__"
},
"files"
:
[
"lib"
],
"publishConfig"
:
{
"registry"
:
"https://g.civnet.cn:4873/"
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"https://g.civnet.cn:8443/ReactWeb5/wisdom-components.git"
},
"scripts"
:
{
"test"
:
"echo
\"
Error: run tests from root
\"
&& exit 1"
}
}
packages/test/src/index.js
0 → 100644
View file @
11c9d642
export
default
{
a
:
'1'
}
tests/setupTests.js
View file @
11c9d642
...
...
@@ -77,7 +77,6 @@ Object.defineProperty(window, 'cancelAnimationFrame', {
});
moment
.
tz
.
setDefault
(
'UTC'
);
// 2016-11-22 15:22:44
MockDate
.
set
(
1479799364000
);
const
mockFormatExpression
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment