MCPcopy Create free account
hub / github.com/apache/echarts / updateUrl

Function updateUrl

test/runTest/client/client.js:1062–1068  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1060});
1061
1062function updateUrl() {
1063 const searchUrl = assembleParams({
1064 test: app.currentTestName,
1065 runConfig: JSON.stringify(app.runConfig)
1066 });
1067 history.pushState({}, '', location.pathname + '?' + searchUrl);
1068}
1069
1070// Only update url when version is changed.
1071app.$watch('runConfig', (newVal, oldVal) => {

Callers 2

mountedFunction · 0.85
'currentTestName'Function · 0.85

Calls 1

assembleParamsFunction · 0.85

Tested by

no test coverage detected