Skip to content

Commit

Permalink
fix: lint and release errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelfimov committed Jan 12, 2024
1 parent 40f80bb commit 6170994
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 80 deletions.
58 changes: 2 additions & 56 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 22 additions & 23 deletions packages/keto/integration/test/client-read.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,28 @@
* @jest-environment node
*/

import { INestApplication } from '@nestjs/common'
import { TestingModule } from '@nestjs/testing'
import { Test } from '@nestjs/testing'

import request from 'supertest'
import { log } from 'testcontainers'
import { Network } from 'testcontainers'
import { Wait } from 'testcontainers'
import { StartedTestContainer } from 'testcontainers'
import { GenericContainer } from 'testcontainers'

import { KETO_MODULE_CONFIGURATION } from '../../src'
import { KetoIntegrationModule } from '../src'
import { KETO_WRITE_PORT } from './test.constants'
import { KETO_READ_PORT } from './test.constants'
import { APP_PORT } from './test.constants'
import { KETO_FILES } from './test.constants'
import { KETO_ENVIRONMENT } from './test.constants'
import { DB_PORT } from './test.constants'
import { DB_ENVIRONMENT } from './test.constants'
import { KETO_START_COMMAND } from './test.constants'
import { KETO_INIT_COMMAND } from './test.constants'
import { KETO_MIGRATE_COMMAND } from './test.constants'
import { INestApplication } from '@nestjs/common'
import { TestingModule } from '@nestjs/testing'
import { Test } from '@nestjs/testing'

import request from 'supertest'
import { Network } from 'testcontainers'
import { Wait } from 'testcontainers'
import { StartedTestContainer } from 'testcontainers'
import { GenericContainer } from 'testcontainers'

import { KETO_MODULE_CONFIGURATION } from '../../src'
import { KetoIntegrationModule } from '../src'
import { KETO_WRITE_PORT } from './test.constants'
import { KETO_READ_PORT } from './test.constants'
import { APP_PORT } from './test.constants'
import { KETO_FILES } from './test.constants'
import { KETO_ENVIRONMENT } from './test.constants'
import { DB_PORT } from './test.constants'
import { DB_ENVIRONMENT } from './test.constants'
import { KETO_START_COMMAND } from './test.constants'
import { KETO_INIT_COMMAND } from './test.constants'
import { KETO_MIGRATE_COMMAND } from './test.constants'

jest.setTimeout(15000)

Expand Down
1 change: 1 addition & 0 deletions packages/keto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"rxjs": "7.8.1",
"supertest": "6.3.3",
"testcontainers": "10.4.0",
"ts-morph": "21.0.1",
"typescript": "4.6.4"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/keto/src/services/keto-read-client.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class KetoReadClientService {
relation: req.relation,
object: req.object,
namespace: req.namespace,
subjectId: req.subject_id
subjectId: req.subject_id,
}
} else {
// @ts-ignore
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,7 @@ __metadata:
rxjs: "npm:7.8.1"
supertest: "npm:6.3.3"
testcontainers: "npm:10.4.0"
ts-morph: "npm:21.0.1"
typescript: "npm:4.6.4"
peerDependencies:
"@nestjs/common": "*"
Expand Down

0 comments on commit 6170994

Please sign in to comment.