feat: add sncrypto client side packages

This commit is contained in:
Karol Sójko
2022-07-06 12:21:21 +02:00
parent 9d1f7043e5
commit 6ec66795d2
71 changed files with 9786 additions and 34 deletions

View File

@@ -0,0 +1,17 @@
/* 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
})
})