Files
standardnotes-app-web/packages/sncrypto-web/test/memory.test.js
2022-07-06 12:21:21 +02:00

18 lines
447 B
JavaScript

/* eslint-disable no-unused-expressions */
/* eslint-disable no-undef */
import './vendor/chai-as-promised-built.js'
chai.use(chaiAsPromised)
/**
* Simple empty test page to create and deinit empty page
* Then check browser Memory tool to make sure there are no leaks.
*/
describe('memory', async function () {
it('cleanup', function () {
this.webCrypto = new SNWebCrypto()
this.webCrypto.deinit()
this.webCrypto = null
})
})