Cleanup tests after conversion to ES6-modules
* Remove the test-pre-setup.js file (and all usages). This file is required only if a tests uses HTML imports (and HTML import polyfill). * Remove all duplicated <script ...>/import '...' blocks. These duplicates were introduced by polymer-modulizer and can be removed. Change-Id: I005afb9b0d3882eb09b6ebb2dcdd7793700251b4
This commit is contained in:
@@ -23,16 +23,6 @@ limitations under the License.
|
||||
|
||||
<script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-lite.js"></script>
|
||||
<script src="/components/wct-browser-legacy/browser.js"></script>
|
||||
<script type="module" src="../../../test/test-pre-setup.js"></script>
|
||||
<script type="module" src="../../../test/common-test-setup.js"></script>
|
||||
<script type="module" src="./gr-confirm-cherrypick-conflict-dialog.js"></script>
|
||||
|
||||
<script type="module">
|
||||
import '../../../test/test-pre-setup.js';
|
||||
import '../../../test/common-test-setup.js';
|
||||
import './gr-confirm-cherrypick-conflict-dialog.js';
|
||||
void(0);
|
||||
</script>
|
||||
|
||||
<test-fixture id="basic">
|
||||
<template>
|
||||
@@ -41,7 +31,6 @@ void(0);
|
||||
</test-fixture>
|
||||
|
||||
<script type="module">
|
||||
import '../../../test/test-pre-setup.js';
|
||||
import '../../../test/common-test-setup.js';
|
||||
import './gr-confirm-cherrypick-conflict-dialog.js';
|
||||
suite('gr-confirm-cherrypick-conflict-dialog tests', () => {
|
||||
|
||||
Reference in New Issue
Block a user