Skip to content

Commit

Permalink
refactor: rename environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hereje committed Jul 27, 2023
1 parent d6cab29 commit beae1d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe.concurrent('functions:serve command', () => {
await builder
.withNetlifyToml({
config: {
build: { environment: { VITEST_TEST: 'FROM_CONFIG_FILE' } },
build: { environment: { MY_CONFIG: 'FROM_CONFIG_FILE' } },
functions: { directory: 'functions' },
},
})
Expand All @@ -115,7 +115,7 @@ describe.concurrent('functions:serve command', () => {
handler: async () => ({
statusCode: 200,
// eslint-disable-next-line n/prefer-global/process
body: `${process.env.VITEST_TEST}`,
body: `${process.env.MY_CONFIG}`,
}),
})
.buildAsync()
Expand Down

0 comments on commit beae1d2

Please sign in to comment.