diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-06-03 12:23:22 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-06-03 15:28:19 +0300 |
commit | ba86523110421c544680a2d155a2add94d4cb3c9 (patch) | |
tree | 6b6cc33e7bd99842f0767dda28bb71810877dc6f /src/tests/unit/crypto/mailvelope.spec.js | |
parent | 596ff94612a3c774f014bd117e93c12faab1e3a2 (diff) |
Migrate from Mocha to jest
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'src/tests/unit/crypto/mailvelope.spec.js')
-rw-r--r-- | src/tests/unit/crypto/mailvelope.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/unit/crypto/mailvelope.spec.js b/src/tests/unit/crypto/mailvelope.spec.js index 29c6ab803..e37c8550c 100644 --- a/src/tests/unit/crypto/mailvelope.spec.js +++ b/src/tests/unit/crypto/mailvelope.spec.js @@ -33,7 +33,7 @@ describe('mailvelope', () => { const mailvelope = await getMailvelope() - expect(mailvelope).to.deep.equal(window.mailvelope) + expect(mailvelope).toEqual(window.mailvelope) }) it('loads dynamically', async() => { @@ -44,6 +44,6 @@ describe('mailvelope', () => { window.dispatchEvent(new Event('mailvelope')) const mailvelope = await p - expect(mailvelope).to.deep.equal(window.mailvelope) + expect(mailvelope).toEqual(window.mailvelope) }) }) |