update tests

master
JFH 2021-03-18 23:50:20 +01:00
parent 18ec805fab
commit a493dad418
5 changed files with 23671 additions and 72 deletions

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="428" height="20"><defs><style>text{font-size:11px;font-family:Verdana,DejaVu Sans,Geneva,sans-serif}text.shadow{fill:#010101;fill-opacity:.3}text.high{fill:#fff}</style><linearGradient id="smooth" x2="0" y2="100%"><stop offset="0" stop-color="#aaa" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><mask id="round"><rect width="100%" height="100%" rx="3" fill="#fff"/></mask></defs><g id="bg" mask="url(#round)"><path fill="green" stroke="#000" d="M0 0h120v20H0zM120 0h109v20H120zM229 0h87v20h-87zM316 0h112v20H316z"/><path fill="url(#smooth)" d="M0 0h428v20H0z"/></g><g id="fg"><text class="shadow" x="5.5" y="15">Statements 46.77%</text><text class="high" x="5" y="14">Statements 46.77%</text><text class="shadow" x="125.5" y="15">Branches 35.06%</text><text class="high" x="125" y="14">Branches 35.06%</text><text class="shadow" x="234.5" y="15">Lines 47.63%</text><text class="high" x="234" y="14">Lines 47.63%</text><text class="shadow" x="321.5" y="15">Functions 53.79%</text><text class="high" x="321" y="14">Functions 53.79%</text></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="403" height="20"><defs><style>text{font-size:11px;font-family:Verdana,DejaVu Sans,Geneva,sans-serif}text.shadow{fill:#010101;fill-opacity:.3}text.high{fill:#fff}</style><linearGradient id="smooth" x2="0" y2="100%"><stop offset="0" stop-color="#aaa" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><mask id="round"><rect width="100%" height="100%" rx="3" fill="#fff"/></mask></defs><g id="bg" mask="url(#round)"><path fill="green" stroke="#000" d="M0 0h120v20H0zM120 0h102v20H120zM222 0h87v20h-87zM309 0h94v20h-94z"/><path fill="url(#smooth)" d="M0 0h403v20H0z"/></g><g id="fg"><text class="shadow" x="5.5" y="15">Statements 46.86%</text><text class="high" x="5" y="14">Statements 46.86%</text><text class="shadow" x="125.5" y="15">Branches 35.1%</text><text class="high" x="125" y="14">Branches 35.1%</text><text class="shadow" x="227.5" y="15">Lines 47.67%</text><text class="high" x="227" y="14">Lines 47.67%</text><text class="shadow" x="314.5" y="15">Functions 54%</text><text class="high" x="314" y="14">Functions 54%</text></g></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

23720
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -134,7 +134,7 @@
"@rollup/plugin-node-resolve": "11.2.0",
"@rollup/plugin-replace": "2.4.1",
"@rollup/plugin-url": "6.0.0",
"@web/dev-server": "^0.1.8",
"@web/dev-server": "^0.1.10",
"axe-core": "4.1.3",
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
"copyfiles": "2.4.1",
@ -142,7 +142,7 @@
"coveradge": "0.6.0",
"cp-cli": "2.0.0",
"cross-var": "1.1.0",
"cypress": "6.6.0",
"cypress": "6.8.0",
"cypress-axe": "0.12.2",
"cypress-multi-reporters": "1.4.0",
"cypress-plugin-snapshots": "1.4.4",
@ -157,7 +157,7 @@
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^32.2.0",
"eslint-plugin-jsdoc": "^32.3.0",
"eslint-plugin-markdown": "^2.0.0",
"eslint-plugin-mocha": "8.1.0",
"eslint-plugin-mocha-cleanup": "1.9.1",
@ -187,7 +187,7 @@
"remark-lint-ordered-list-marker-value": "2.0.1",
"requirejs": "2.3.6",
"rimraf": "3.0.2",
"rollup": "2.41.2",
"rollup": "2.41.5",
"rollup-plugin-copy": "3.4.0",
"rollup-plugin-filesize": "9.1.1",
"rollup-plugin-node-polyfills": "0.2.1",
@ -197,6 +197,6 @@
"stackblur-canvas": "2.5.0",
"systemjs": "6.8.3",
"typescript": "4.2.3",
"underscore": "1.12.0"
"underscore": "1.12.1"
}
}

View File

@ -218,14 +218,6 @@ export default class ConfigObj {
if (!curConfig.noDefaultExtensions) {
curConfig.extensions = [...this.defaultExtensions];
}
// ...and remove any dupes
/*
['extensions', 'allowedOrigins'].forEach(function (cfg) {
curConfig[cfg] = $.grep(curConfig[cfg], function (n, i) { // Supposedly faster than filter per http://amandeep1986.blogspot.hk/2015/02/jquery-grep-vs-js-filter.html
return i === curConfig[cfg].indexOf(n);
});
});
*/
// Export updated config
this.curConfig = curConfig;
}

View File

@ -28,8 +28,7 @@
</head>
<body>
<div id="svg_editor" role="main">
</div>
<div id="svg_editor" role="main"></div>
</body>
</html>