Add typescript for type checking
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
'use strict'
|
||||
const { expect } = require('chai')
|
||||
|
||||
var chai = require('chai')
|
||||
|
||||
global.expect = chai.expect
|
||||
const OError = require('../..')
|
||||
|
||||
exports.expectError = function OErrorExpectError(e, expected) {
|
||||
// should set the name to the error's name
|
||||
|
||||
Reference in New Issue
Block a user