Skip to content

Commit

Permalink
test: format input in camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
luc122c committed Oct 16, 2023
1 parent 922b33c commit dce3655
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/basic-types/nuxt.config.ts
Expand Up @@ -14,7 +14,7 @@ export default defineNuxtConfig({
],
runtimeConfig: {
baseURL: '',
baseAPIToken: '',
baseApiToken: '',
privateConfig: 'secret_key',
APP: '',
APP_NAMES: [''],
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/basic-types/types.ts
Expand Up @@ -267,7 +267,7 @@ describe('runtimeConfig', () => {
expectTypeOf(val.runtimeConfig!.public!.testConfig).toEqualTypeOf<undefined | RuntimeValue<number, 'You can override this value at runtime with NUXT_PUBLIC_TEST_CONFIG'>>()
expectTypeOf(val.runtimeConfig!.privateConfig).toEqualTypeOf<undefined | RuntimeValue<string, 'You can override this value at runtime with NUXT_PRIVATE_CONFIG'>>()
expectTypeOf(val.runtimeConfig!.baseURL).toEqualTypeOf<undefined | RuntimeValue<string, 'You can override this value at runtime with NUXT_BASE_URL'>>()
expectTypeOf(val.runtimeConfig!.baseAPIToken).toEqualTypeOf<undefined | RuntimeValue<string, 'You can override this value at runtime with NUXT_BASE_API_TOKEN'>>()
expectTypeOf(val.runtimeConfig!.baseApiToken).toEqualTypeOf<undefined | RuntimeValue<string, 'You can override this value at runtime with NUXT_BASE_API_TOKEN'>>()
expectTypeOf(val.runtimeConfig!.public!.ids).toEqualTypeOf<undefined | RuntimeValue<Array<number>, 'You can override this value at runtime with NUXT_PUBLIC_IDS'>>()
expectTypeOf(val.runtimeConfig!.unknown).toEqualTypeOf<unknown>()
expectTypeOf(val.runtimeConfig!.APP).toEqualTypeOf<undefined | RuntimeValue<string, 'You can override this value at runtime with NUXT_APP'>>()
Expand Down

0 comments on commit dce3655

Please sign in to comment.