MCPcopy Create free account
hub / github.com/BorisMoore/jquery-tmpl / Test

Function Test

tests/qunit.js:26–34  ·  view source on GitHub ↗
(name, testName, expected, testEnvironmentArg, async, callback)

Source from the content-addressed store, hash-verified

24var testId = 0;
25
26var Test = function(name, testName, expected, testEnvironmentArg, async, callback) {
27 this.name = name;
28 this.testName = testName;
29 this.expected = expected;
30 this.testEnvironmentArg = testEnvironmentArg;
31 this.async = async;
32 this.callback = callback;
33 this.assertions = [];
34};
35Test.prototype = {
36 init: function() {
37 var tests = id("qunit-tests");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected