UNPKG

libxmljs

Version:

libxml bindings for v8 javascript engine

18 lines 734 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var packageJSON = require('../../package.json'); var libxml = require("../index"); module.exports.constants = function (assert) { assert.ok(typeof libxml.version == 'string'); assert.equal(packageJSON.version, libxml.version); assert.ok(typeof libxml.libxml_version == 'string'); assert.ok(typeof libxml.libxml_parser_version == 'string'); assert.ok(typeof libxml.libxml_debug_enabled == 'boolean'); assert.done(); }; module.exports.memoryUsage = function (assert) { assert.ok(typeof libxml.memoryUsage() === 'number'); assert.ok(typeof libxml.nodeCount() === 'number'); assert.done(); }; //# sourceMappingURL=main.js.map