UNPKG

fpo

Version:

FP library for JavaScript. Supports named-argument style methods.

23 lines (17 loc) 456 B
#!/usr/bin/env node var path = require("path"); /* istanbul ignore next */ if (process.env.TEST_DIST) { global.FPO = require(path.join("..","dist","fpo.js")); } /* istanbul ignore next */ else if (process.env.TEST_PACKAGE) { global.FPO = require(path.join("..")); } else { global.FPO = require(path.join("..","src","fpo.src.js")); } global.QUnit = require("qunit"); require("../tests/qunit.config.js"); require("../tests/tests.js"); QUnit.start();