Skip to content

Commit

Permalink
chore: attempt to fixing failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelfimov committed Jan 19, 2024
1 parent b43d2a4 commit fae3723
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { TYPESENSE_MODULE_OPTIONS } from '@atls/nestjs-typesense'
import { TypesenseTypeOrmIntegrationModule } from './src'
import { TestEntity } from './src/test.entity'

jest.setTimeout(60000)
jest.setTimeout(30000)

describe('typesense-typeorm', () => {
let typesense: StartedTestContainer
Expand All @@ -39,7 +39,7 @@ describe('typesense-typeorm', () => {
apiKey: 'test',
nodes: [
{
host: 'localhost',
host: typesense.getHost(),
protocol: 'http',
port: typesense.getMappedPort(8108),
},
Expand All @@ -60,8 +60,7 @@ describe('typesense-typeorm', () => {
await typesense.stop()
})

// TODO: check why test is failing. expect(0).toBe(2)
it.skip(`find after create`, async () => {
it(`find after create`, async () => {
await repository.save(
repository.create({
company: 'Stark Corp',
Expand Down

0 comments on commit fae3723

Please sign in to comment.