Skip to content

Commit

Permalink
fix: port in test in lib function
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLzq committed Sep 5, 2022
1 parent 12133b7 commit 8915713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/functions/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const ajv = addFormats(new Ajv(), ['email'])
.addKeyword('kind')
.addKeyword('modifier')
const BASE_URL = 'http://localhost:1996'
const BASE_URL = 'http://localhost:${process.env.PORT || 1996}'
const validator = <T extends TProperties>(
schema: TObject<T>,
object: unknown
Expand Down Expand Up @@ -356,7 +356,7 @@ const ajv = new Ajv({
nullable: true
})
const BASE_URL = 'http://localhost:1996'
const BASE_URL = 'http://localhost:${process.env.PORT || 1996}'
const validator = <T extends TProperties>(
schema: TObject<T>,
object: unknown
Expand Down

0 comments on commit 8915713

Please sign in to comment.