Skip to content

Commit 2016717

Browse files
committed
cleanup: tests no longer need @ts-ignore for mutable static props
1 parent 81077b3 commit 2016717

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

test/service-module/model-base.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ describe('makeModel / BaseModel', function () {
130130
const { BaseModel, makeServicePlugin } = feathersVuex(feathers, {
131131
serverAlias: 'myApi'
132132
})
133-
//@ts-ignore
134133
BaseModel.modelName = 'TestModel'
135134
const plugin = makeServicePlugin({
136135
servicePath: 'todos',

test/service-module/model-methods.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ describe('Models - Methods', function() {
235235

236236
it('instance.save passes params to update', function() {
237237
const { Task } = makeContext()
238-
//@ts-ignore
239238
Task.preferUpdate = true
240239

241240
const task = new Task({ id: 1, test: true })

0 commit comments

Comments
 (0)