Skip to content

Commit

Permalink
test(loaders): fix typo in loadEnv tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ngryman committed Nov 24, 2020
1 parent 5eb39c1 commit 17768d8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/loaders/loadEnv.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ import { JsonObject } from 'type-fest'
import { loadEnv } from './loadEnv'

const TEST_CASES: [string, NodeJS.ProcessEnv, JsonObject][] = [
[
'map name to camelcase without namespace',
{ MY_APP_FOO: 'bar' },
{ foo: 'bar' }
],
['remove namespace', { MY_APP_FOO: 'bar' }, { foo: 'bar' }],
[
'parse an array value',
{ MY_APP_FOO: '["bar", 1337]' },
Expand Down

0 comments on commit 17768d8

Please # to comment.