Skip to content

Commit fd2aa65

Browse files
Removed unnecessary stubs
1 parent 83eeca5 commit fd2aa65

File tree

2 files changed

+0
-46
lines changed

2 files changed

+0
-46
lines changed

test/stores/store_aggregated_ip.spec.ts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ describe('Postgres Store Aggregated IP', () => {
5959

6060
isSessionValidSpy.returns(true)
6161
query.onFirstCall().returns({
62-
rows: [],
63-
})
64-
65-
query.onSecondCall().returns({
6662
rows: [
6763
{
6864
count: 1,
@@ -93,13 +89,6 @@ describe('Postgres Store Aggregated IP', () => {
9389
rows: [],
9490
})
9591

96-
query.onSecondCall().returns({
97-
rows: [
98-
{
99-
count: 1,
100-
},
101-
],
102-
})
10392
let testStore = new PostgresStore({}, 'test')
10493
testStore.pool = pool
10594
testStore.session = newCreatedSession
@@ -122,13 +111,6 @@ describe('Postgres Store Aggregated IP', () => {
122111
rows: [],
123112
})
124113

125-
query.onSecondCall().returns({
126-
rows: [
127-
{
128-
count: 1,
129-
},
130-
],
131-
})
132114
let testStore = new PostgresStore({}, 'test')
133115
testStore.pool = pool
134116
testStore.session = newCreatedSession
@@ -147,13 +129,6 @@ describe('Postgres Store Aggregated IP', () => {
147129
rows: [],
148130
})
149131

150-
query.onSecondCall().returns({
151-
rows: [
152-
{
153-
count: 1,
154-
},
155-
],
156-
})
157132
let testStore = new PostgresStore({}, 'test')
158133
testStore.pool = pool
159134
testStore.session = newCreatedSession

test/stores/store_individual_ip.spec.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,6 @@ describe('Postgres Store Individual IP', () => {
9393
rows: [],
9494
})
9595

96-
query.onSecondCall().returns({
97-
rows: [
98-
{
99-
count: 1,
100-
},
101-
],
102-
})
10396
let testStore = new PostgresStoreIndividualIP({}, 'test')
10497
testStore.pool = pool
10598
testStore.session = newCreatedSession
@@ -126,13 +119,6 @@ describe('Postgres Store Individual IP', () => {
126119
rows: [],
127120
})
128121

129-
query.onSecondCall().returns({
130-
rows: [
131-
{
132-
count: 1,
133-
},
134-
],
135-
})
136122
let testStore = new PostgresStoreIndividualIP({}, 'test')
137123
testStore.pool = pool
138124
testStore.session = newCreatedSession
@@ -151,13 +137,6 @@ describe('Postgres Store Individual IP', () => {
151137
rows: [],
152138
})
153139

154-
query.onSecondCall().returns({
155-
rows: [
156-
{
157-
count: 1,
158-
},
159-
],
160-
})
161140
let testStore = new PostgresStoreIndividualIP({}, 'test')
162141
testStore.pool = pool
163142
testStore.session = newCreatedSession

0 commit comments

Comments
 (0)