update smarterror

This commit is contained in:
2017-06-09 15:30:50 +02:00
parent f2804920fb
commit a11696a170
6 changed files with 36 additions and 1 deletions

View File

@ -1,3 +1,11 @@
import * as smarterror from '../dist/index'
import { expect, tap } from 'tapbundle'
tap.test('should create a valid error', async () => {
let myError = new smarterror.SmartError('wow')
expect(myError).to.be.instanceof(Error)
console.log(myError.stack)
})
tap.start()