mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
add dummy test
This commit is contained in:
parent
de2cdf63b7
commit
1379f48ad0
@ -16,7 +16,8 @@
|
|||||||
"run": "ts-node",
|
"run": "ts-node",
|
||||||
"release": "release-it --non-interactive",
|
"release": "release-it --non-interactive",
|
||||||
"changelog": "auto-changelog -p",
|
"changelog": "auto-changelog -p",
|
||||||
"prepublishOnly": "npm run build"
|
"prepublishOnly": "npm run build",
|
||||||
|
"test": "mocha --opts test/unit/mocha.opts"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
11
test/unit/Datatokens.test.ts
Normal file
11
test/unit/Datatokens.test.ts
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import { assert } from 'chai'
|
||||||
|
|
||||||
|
describe('Datatokens', () => {
|
||||||
|
|
||||||
|
describe('#test()', () => {
|
||||||
|
it('should test', async () => {
|
||||||
|
const test = true
|
||||||
|
assert(test === true)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
})
|
8
test/unit/mocha.opts
Normal file
8
test/unit/mocha.opts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
--require ts-node/register
|
||||||
|
--require source-map-support/register
|
||||||
|
--require mock-local-storage
|
||||||
|
--full-trace
|
||||||
|
--bail
|
||||||
|
--exit
|
||||||
|
--timeout 20000
|
||||||
|
test/unit/config.ts test/unit/**/*.test.ts
|
Loading…
x
Reference in New Issue
Block a user