MCPcopy Index your code
hub / github.com/apache/echarts / updateTestsList

Function updateTestsList

test/runTest/client/client.js:950–963  ·  view source on GitHub ↗
(testsList)

Source from the content-addressed store, hash-verified

948 },
949
950 updateTestsList(testsList) {
951 this.fullTests = processTestsData(testsList, this.fullTests, this.runConfig.expectedSource, this.runConfig.expectedVersion);
952
953 if (!this.currentTestName && this.fullTests.length > 0) {
954 this.currentTestName = this.fullTests[0].name;
955 }
956
957 if (this.currentTestName) {
958 const currentTest = this.fullTests.find(test => test.name === this.currentTestName);
959 if (!currentTest && this.fullTests.length > 0) {
960 this.currentTestName = this.fullTests[0].name;
961 }
962 }
963 },
964 }
965});
966

Callers 1

startFunction · 0.85

Calls 1

processTestsDataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…