Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5e8cfda

Browse files
committed
add test file
1 parent269ef92 commit5e8cfda

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

‎package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main":"built/index.js",
66
"scripts": {
77
"test":"tsc && nyc --reporter=lcov --reporter=text --reporter=json ava",
8+
"posttest":"codecov -f coverage/*.json -t 38830db6-afdf-40b3-83cd-120f69176b60",
89
"prepublish":"rm -rf built && tsc && babel built --out-dir built && npm run build",
910
"start":"run-react develop",
1011
"build":"webpack --config built/scripts/webpack.config.js"
@@ -67,4 +68,4 @@
6768
"nyc":"^11.3.0",
6869
"styled-components":"^2.2.1"
6970
}
70-
}
71+
}

‎src/tests/index.test.ts‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
importtestfrom'ava'
2+
import*asReactfrom'react'
3+
import{create}from'react-test-renderer'
4+
import{observable}from'dob'
5+
6+
7+
test('no args with no error and run once',t=>{
8+
t.true(true)
9+
})

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp