Skip to content

Commit

Permalink
chore: allow enabling vaults e2e tests by url param
Browse files Browse the repository at this point in the history
  • Loading branch information
karolsojko committed Aug 17, 2023
1 parent cddc5e1 commit 24afeae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/snjs/mocha/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
<script type="module">
import MainRegistry from './TestRegistry/MainRegistry.js'

const vaultTestsEnabled = urlParams.get('vaults') === 'enabled' ? true : false;

MainRegistry.VaultTests.enabled = MainRegistry.VaultTests.enabled || vaultTestsEnabled;

const loadTest = (fileName) => {
return new Promise((resolve) => {
const script = document.createElement('script');
Expand Down

0 comments on commit 24afeae

Please sign in to comment.