chore: remove unneeded stubWindowLog calls

pull/2971/head
William Grant 2 years ago
parent 95852d8002
commit 8d87779554

@ -6,7 +6,6 @@ import {
generateFakeExpirationTimerUpdate,
generateFakeIncomingPrivateMessage,
generateVisibleMessage,
stubWindowLog,
} from '../../../test-utils/utils';
import {
DisappearingMessageConversationModeType,
@ -27,8 +26,6 @@ import { TestUtils } from '../../../test-utils';
chai.use(chaiAsPromised as any);
describe('Disappearing Messages', () => {
stubWindowLog();
const getLatestTimestampOffset = 200000;
const ourNumber = '051234567890acbdef';
const conversationArgs = {

@ -1,7 +1,7 @@
import chai, { expect } from 'chai';
import Sinon from 'sinon';
import chaiAsPromised from 'chai-as-promised';
import { generateFakeSnode, stubWindowLog } from '../../../test-utils/utils';
import { generateFakeSnode } from '../../../test-utils/utils';
import {
ExpireMessageOnSnodeProps,
ExpireRequestResponseResults,
@ -18,8 +18,6 @@ import { GetNetworkTime } from '../../../../session/apis/snode_api/getNetworkTim
chai.use(chaiAsPromised as any);
describe('ExpireRequest', () => {
stubWindowLog();
const getLatestTimestampOffset = 200000;
const ourNumber = '37e1631b002de498caf7c5c1712718bde7f257c6dadeed0c21abf5e939e6c309';
const ourUserEd25516Keypair = {

@ -1,7 +1,7 @@
import chai, { expect } from 'chai';
import Sinon from 'sinon';
import chaiAsPromised from 'chai-as-promised';
import { TypedStub, generateFakeSnode, stubWindowLog } from '../../../test-utils/utils';
import { TypedStub, generateFakeSnode } from '../../../test-utils/utils';
import { GetExpiriesFromNodeSubRequest } from '../../../../session/apis/snode_api/SnodeRequestTypes';
import { UserUtils } from '../../../../session/utils';
import { isValidUnixTimestamp } from '../../../../session/utils/Timestamps';
@ -17,8 +17,6 @@ import { SnodeSignature } from '../../../../session/apis/snode_api/snodeSignatur
chai.use(chaiAsPromised as any);
describe('GetExpiriesRequest', () => {
stubWindowLog();
const getLatestTimestampOffset = 200000;
const ourNumber = '37e1631b002de498caf7c5c1712718bde7f257c6dadeed0c21abf5e939e6c309';
const ourUserEd25516Keypair = {

Loading…
Cancel
Save