Skip to content

Commit b6b5506

Browse files
committed
test: fix lint
1 parent f8b24d7 commit b6b5506

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/builder.test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,9 @@ describe('Query builder', () => {
202202
'?filter[schedule][start]=2020-11-27,2020-11-28&filter[schedule][end]=2020-11-28,2020-11-29'
203203
)
204204

205-
post = Post.whereIn({ status: ['ACTIVE', 'ARCHIVED'] }).when(true, (query) =>
206-
query.whereIn({ user: { status: ['active', 'inactive'] } })
205+
post = Post.whereIn({ status: ['ACTIVE', 'ARCHIVED'] }).when(
206+
true,
207+
(query) => query.whereIn({ user: { status: ['active', 'inactive'] } })
207208
)
208209

209210
expect(post._builder.filters).toEqual({

0 commit comments

Comments
 (0)