Skip to content

Commit

Permalink
fix: default deprecation from @scaleleap/config
Browse files Browse the repository at this point in the history
  • Loading branch information
moltar authored and Roman committed Mar 5, 2020
1 parent cd88b32 commit b73bd95
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ export class Config extends BaseConfig {
public readonly TEST_ACCESS_TOKEN = this.get('TEST_ACCESS_TOKEN').asString()
public readonly TEST_REFRESH_TOKEN = this.get('TEST_REFRESH_TOKEN').asString()

public readonly TEST_OAUTH_REDIRECT_PORT = this.get(
'TEST_OAUTH_REDIRECT_PORT',
'3000',
).asIntPositive()
public readonly TEST_OAUTH_REDIRECT_PORT = this.get('TEST_OAUTH_REDIRECT_PORT')
.default(3000)
.asIntPositive()

public readonly POLLY_MODE = this.get('POLLY_MODE', 'replay').asEnum(POLY_MODES) as Polly['mode']
}
Expand Down

0 comments on commit b73bd95

Please sign in to comment.