1
0
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:
arsenyjin 2020-06-05 11:59:27 +02:00
parent de2cdf63b7
commit 1379f48ad0
3 changed files with 21 additions and 1 deletions

View File

@ -16,7 +16,8 @@
"run": "ts-node",
"release": "release-it --non-interactive",
"changelog": "auto-changelog -p",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"test": "mocha --opts test/unit/mocha.opts"
},
"repository": {
"type": "git",

View 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
View 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