-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from dword-design/renovate/lock-file-maintenance
Lock file maintenance
- Loading branch information
Showing
9 changed files
with
74 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
import withLocalTmpDir from 'with-local-tmp-dir' | ||
import dotenv from '@dword-design/dotenv' | ||
import { outputFile } from 'fs-extra' | ||
import expect from 'expect' | ||
|
||
export default () => withLocalTmpDir(async () => { | ||
delete process.env.FOO | ||
await outputFile('.env', 'FOO=bar') | ||
expect(dotenv.config).toThrow('EXTRA CONFIG VALUES: FOO') | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
import withLocalTmpDir from 'with-local-tmp-dir' | ||
import dotenv from '@dword-design/dotenv' | ||
import { outputFile } from 'fs-extra' | ||
import expect from 'expect' | ||
|
||
export default () => withLocalTmpDir(async () => { | ||
delete process.env.FOO | ||
await outputFile('.env.schema', 'FOO=') | ||
expect(dotenv.config).toThrow('MISSING CONFIG VALUES: FOO') | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.