addressing rngState 0ef2c5e06719a8b43d
This commit is contained in:
parent
2cbf528894
commit
c707c87cac
1 changed files with 1 additions and 4 deletions
|
@ -4,9 +4,6 @@ var common = require('../common');
|
||||||
describe('PasteStatus', function () {
|
describe('PasteStatus', function () {
|
||||||
describe('createPasteNotification', function () {
|
describe('createPasteNotification', function () {
|
||||||
this.timeout(30000);
|
this.timeout(30000);
|
||||||
before(function () {
|
|
||||||
cleanup();
|
|
||||||
});
|
|
||||||
|
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'creates a notification after a successfull paste upload',
|
'creates a notification after a successfull paste upload',
|
||||||
|
@ -24,7 +21,7 @@ describe('PasteStatus', function () {
|
||||||
var expected1 = schema1 + '://' + address1.join('') + '/?' +
|
var expected1 = schema1 + '://' + address1.join('') + '/?' +
|
||||||
encodeURI(query1.join('').replace(/^&+|&+$/gm,'') + '#' + fragment1),
|
encodeURI(query1.join('').replace(/^&+|&+$/gm,'') + '#' + fragment1),
|
||||||
expected2 = schema2 + '://' + address2.join('') + '/?' +
|
expected2 = schema2 + '://' + address2.join('') + '/?' +
|
||||||
encodeURI(query2.join('')),
|
encodeURI(query2.join('').replace(/^&+|&+$/gm,'')),
|
||||||
clean = jsdom();
|
clean = jsdom();
|
||||||
$('body').html('<div><div id="deletelink"></div><div id="pastelink"></div></div>');
|
$('body').html('<div><div id="deletelink"></div><div id="pastelink"></div></div>');
|
||||||
$.PrivateBin.PasteStatus.init();
|
$.PrivateBin.PasteStatus.init();
|
||||||
|
|
Loading…
Reference in a new issue