MCPcopy
hub / github.com/apache/echarts / doTest

Function doTest

test/ut/spec/data/createDimensions.test.ts:265–271  ·  view source on GitHub ↗
(
            source: ParametersOfCreateDimensions[0],
            opt: ParametersOfCreateDimensions[1],
            result: SeriesDimensionDefine[]
        )

Source from the content-addressed store, hash-verified

263
264 it('differentData', function () {
265 function doTest(
266 source: ParametersOfCreateDimensions[0],
267 opt: ParametersOfCreateDimensions[1],
268 result: SeriesDimensionDefine[]
269 ) {
270 expect(doCreateDimensions(source, opt)).toEqual(result.map(a => new SeriesDimensionDefine(a)));
271 }
272
273 // test dimcount
274 doTest([], { coordDimensions: ['x', 'y']}, [

Callers 1

Calls 2

doCreateDimensionsFunction · 0.85
mapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…