Skip to content

Commit ec65b49

Browse files
committed
lint cleanup
1 parent 1bfb805 commit ec65b49

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

test/service-module/make-service-plugin.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ describe('makeServicePlugin', function () {
9494
isIdCreatePending: [],
9595
isIdUpdatePending: [],
9696
isIdPatchPending: [],
97-
isIdRemovePending: [],
97+
isIdRemovePending: []
9898
}
9999

100100
assert.deepEqual(_omit(received), _omit(expected), 'defaults in place.')

test/service-module/model-temp-ids.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function makeContext() {
4646
})
4747
class Comic extends BaseModel {
4848
public static modelName = 'Comic'
49-
public static test: boolean = true
49+
public static test = true
5050

5151
public constructor(data, options?) {
5252
super(data, options)
@@ -601,7 +601,7 @@ describe('Models - Temp Ids', function() {
601601
// Create instance
602602
const thing = new PendingThing({ description: 'PendingThing 1' })
603603
const clone = thing.clone()
604-
assert(!!thing.__id, "thing has a tempId")
604+
assert(!!thing.__id, 'thing has a tempId')
605605
assert(clone.__id === thing.__id, "clone has thing's tempId")
606606

607607
// Manually set the result in a hook to simulate the server request.

test/utils.test.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ describe('Utils', function() {
131131
})
132132
})
133133

134-
it('properly inflects the service capitalization', function() {
134+
it('properly inflects the service capitalization', function () {
135135
const decisionTable = [
136136
['todos', 'Todos'],
137137
['TODOS', 'TODOS'],
@@ -162,8 +162,8 @@ describe('Utils', function() {
162162
})
163163
})
164164

165-
describe('Pagination', function() {
166-
it('getQueryInfo', function() {
165+
describe('Pagination', function () {
166+
it('getQueryInfo', function () {
167167
const params = {
168168
qid: 'main-list',
169169
query: {
@@ -200,11 +200,10 @@ describe('Pagination', function() {
200200
}
201201
const diff = deepDiff(info, expected)
202202

203-
// @ts-ignore
204203
assert.deepEqual(info, expected, 'query info formatted correctly')
205204
})
206205

207-
it('getQueryInfo no limit or skip', function() {
206+
it('getQueryInfo no limit or skip', function () {
208207
const params = {
209208
qid: 'main-list',
210209
query: {
@@ -237,7 +236,6 @@ describe('Pagination', function() {
237236
}
238237
const diff = deepDiff(info, expected)
239238

240-
// @ts-ignore
241239
assert.deepEqual(info, expected, 'query info formatted correctly')
242240
})
243241
})

0 commit comments

Comments
 (0)