odin/node_modules/axo/test.js
2022-11-26 15:56:34 +01:00

10 lines
376 B
JavaScript

/* istanbul ignore next */
this.ActiveXObject = global.ActiveXObject = function foobar() {
// Node doesn't have an ActiveXObject so introduce it as global.
};
var assert = require('assert')
, AXO = require('./');
assert.ok('function' === typeof AXO, 'should export the ActiveXObject constructor');
assert.ok(AXO === ActiveXObject, 'it should return the ActiveXObject');