Skip to content

Commit b2de7a0

Browse files
committed
feat: apply review
1 parent fe474ab commit b2de7a0

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

shared/types/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ export interface BuildInfo {
88
branch: string
99
env: EnvType
1010
privacyPolicyDate: string
11-
prNumber: string | number | null
11+
prNumber: string | null
1212
}

test/nuxt/components/BuildEnvironment.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ describe('BuildEnvironment', () => {
1313
shortCommit: 'abc',
1414
branch: 'main',
1515
privacyPolicyDate: new Date().toISOString(),
16+
prNumber: null,
1617
}
1718
const component = await mountSuspended(BuildEnvironment, {
1819
props: {
@@ -39,6 +40,7 @@ describe('BuildEnvironment', () => {
3940
shortCommit: 'abc',
4041
branch: 'release',
4142
privacyPolicyDate: new Date().toISOString(),
43+
prNumber: null,
4244
}
4345

4446
const component = await mountSuspended(BuildEnvironment, {

0 commit comments

Comments
 (0)