Skip to content

Commit

Permalink
fix test types
Browse files Browse the repository at this point in the history
  • Loading branch information
wadetandy committed Feb 25, 2021
1 parent 98974c7 commit 69b8dc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/unit/collection-proxy.test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { expect } from "../test-helper"
import { Person } from "../fixtures"
import { JsonapiCollectionDoc, JsonapiResource } from "../../src/index"
import { PersistedSpraypaintRecord } from "../../src/index"

import { CollectionProxy } from "../../src/proxies/collection-proxy"

describe("CollectionProxy", () => {
let personData: JsonapiCollectionDoc
let recordArray: Person[]
let recordArray: PersistedSpraypaintRecord<Person>[]

beforeEach(() => {
personData = {
Expand Down
3 changes: 2 additions & 1 deletion test/unit/record-proxy.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { expect } from "../test-helper"
import { Person } from "../fixtures"
import { RecordProxy } from "../../src/proxies"
import { PersistedSpraypaintRecord } from "../../src/index"
import { JsonapiResourceDoc, JsonapiResource } from "../../src/index"

describe("RecordProxy", () => {
let modelRecord: Person
let modelRecord: PersistedSpraypaintRecord<Person>
let personData: JsonapiResourceDoc

beforeEach(() => {
Expand Down

0 comments on commit 69b8dc3

Please sign in to comment.