finished sender tests, figuring out array buffer to string conversions
This commit is contained in:
parent
af0c497aab
commit
b411447ebb
6 changed files with 222 additions and 93 deletions
|
@ -1,18 +0,0 @@
|
|||
class FakeFile extends Blob {
|
||||
constructor(name, data, opt) {
|
||||
super(data, opt);
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
|
||||
window.Raven = {
|
||||
captureException: function(err) {
|
||||
console.error(err, err.stack);
|
||||
}
|
||||
}
|
||||
|
||||
window.FakeFile = FakeFile;
|
||||
window.FileSender = require('../../frontend/src/fileSender');
|
||||
window.FileReceiver = require('../../frontend/src/fileReceiver');
|
||||
window.sinon = require('sinon');
|
||||
window.assert = require('assert');
|
Loading…
Add table
Add a link
Reference in a new issue