@wider/utils_proto
Version:
A set of extensions to basic objects giving uniform behaviour in various technical environments
46 lines (32 loc) • 1.5 kB
JavaScript
;
/*jshint -W119 */
/**
* @module @wider/utils_proto/test
* @description
* The source code of the main test
*
* <a href="./test.js.html">Source Code</a>
*/
import {
utils_proto
} from "./index.js"; // === @wider/utils_proto
utils_proto({
markdown: false // will throw if set to true unless this tester is run with @wider/utils_core-full
});
const m_moduleName = utils_proto.$moduleName + "/test.js";
console.warn(m_moduleName + " please note the order in which the test results appear due to the asynchronous loading we have chosen to perform here - this is because the imports load in parallel regardless of the order they are in the code");
console.log(m_moduleName + " starting test for proto_string");
import "./proto_string/test.js";
console.log(m_moduleName + " starting test for proto_array");
import "./proto_array/test.js";
console.log(m_moduleName + " starting test for proto_date");
import "./proto_date/test.js";
console.log(m_moduleName + " starting test for proto_function");
import "./proto_function/test.js";
import "./proto_number/test.js";
import "./proto_object/test.js";
console.log(m_moduleName + ": loaded all tests");
console.log(m_moduleName + " verifying utils_proto.init()");
console.log(m_moduleName + " Finished #### utils_proto name is " + utils_proto.$moduleName);
console.log(m_moduleName + " now will follow log of markup activities from string");
setTimeout(() => process.exit(), 1000);