hexo/node_modules/xregexp/tests/node-qunit.js

12 lines
226 B
JavaScript

// Use node-qunit to run the tests.
var qunit = require("qunit");
qunit.run({
code: {
namespace: "xregexp",
path: __dirname + "/../xregexp-all.js"
},
tests: __dirname + "/tests.js"
});