Skip to content

Commit

Permalink
test: remove .only test
Browse files Browse the repository at this point in the history
  • Loading branch information
fratzinger committed Mar 16, 2023
1 parent bd3ac2e commit 52098ac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/shallow-populate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ describe('shallow-populate.test.ts', () => {

assert(result.posts.length, `${type}: posts should have been populated`)
result.posts.forEach((post) => {
const { name, ...rest } = post
const { name, id, ...rest } = post
assert.deepStrictEqual(rest, {}, `${type}: only has name property`)
})
}
Expand Down Expand Up @@ -764,7 +764,7 @@ describe('shallow-populate.test.ts', () => {
})

describe('requestPerItem: true', () => {
it.only('populates with custom params $select works', async () => {
it('populates with custom params $select works', async () => {
for (const { type, dataResult } of beforeAfter) {
const options = {
include: {
Expand Down Expand Up @@ -1145,7 +1145,7 @@ describe('shallow-populate.test.ts', () => {
const result = response[dataResult]
assert(result.users.length, 'posts should have been populated')
result.users.forEach((user) => {
const { name, ...rest } = user
const { name, id, ...rest } = user
assert.deepStrictEqual(rest, {}, 'only has name property')
})

Expand Down Expand Up @@ -1799,7 +1799,7 @@ describe('shallow-populate.test.ts', () => {
result.forEach((user) => {
assert(user.posts.length, `${type}: posts should have been populated`)
user.posts.forEach((post) => {
const { name, ...rest } = post
const { name, id, ...rest } = post
assert.deepStrictEqual(rest, {}, `${type}: only has name property`)
})
})
Expand Down Expand Up @@ -2400,7 +2400,7 @@ describe('shallow-populate.test.ts', () => {
result.forEach((post, i) => {
assert(post.users.length, 'posts should have been populated')
post.users.forEach((user) => {
const { name, ...rest } = user
const { name, id, ...rest } = user
assert.deepStrictEqual(rest, {}, 'only has name property')
})

Expand Down

0 comments on commit 52098ac

Please sign in to comment.