chore: fix parsing url search params in e2e test setup
This commit is contained in:
@@ -38,8 +38,8 @@
|
||||
<script type="module">
|
||||
import MainRegistry from './TestRegistry/MainRegistry.js'
|
||||
|
||||
const vaultTestsEnabled = urlParams.get('vaults') === 'enabled' ? true : false;
|
||||
|
||||
const urlSearchParams = new URLSearchParams(window.location.search);
|
||||
const vaultTestsEnabled = urlSearchParams.get('vaults') === 'enabled' ? true : false;
|
||||
MainRegistry.VaultTests.enabled = MainRegistry.VaultTests.enabled || vaultTestsEnabled;
|
||||
|
||||
const loadTest = (fileName) => {
|
||||
|
||||
Reference in New Issue
Block a user