MCPcopy
hub / github.com/visgl/deck.gl / add

Function add

modules/test-utils/src/test-runner.ts:81–89  ·  view source on GitHub ↗

* Add testCase(s)

(testCases: TestCaseT[])

Source from the content-addressed store, hash-verified

79 * Add testCase(s)
80 */
81 add(testCases: TestCaseT[]): this {
82 if (!Array.isArray(testCases)) {
83 testCases = [testCases];
84 }
85 for (const testCase of testCases) {
86 this._testCases.push(testCase);
87 }
88 return this;
89 }
90
91 /**
92 * Returns a promise that resolves when all the test cases are done

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected