-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add tests for the release output
- Loading branch information
Showing
11 changed files
with
868 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* eslint-disable immutable/no-mutation */ | ||
/* eslint-disable unicorn/filename-case */ | ||
/* eslint-disable unicorn/prevent-abbreviations */ | ||
import * as envCi from 'env-ci'; | ||
|
||
module.exports = ({ | ||
cwd, | ||
env, | ||
}: { | ||
cwd: string; | ||
env: string; | ||
}): { [key: string]: unknown } => { | ||
const { isCi, isPr, ...other } = envCi({ cwd, env }); | ||
|
||
return { isCi: false, isPr: false, ...other }; | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* eslint-disable class-methods-use-this */ | ||
|
||
import * as signale from 'signale'; | ||
|
||
class Signale extends signale.Signale { | ||
/* eslint-disable @typescript-eslint/naming-convention */ | ||
public _log(): void {} | ||
|
||
public _logger(): void {} | ||
|
||
public _write(): void {} | ||
/* eslint-enable @typescript-eslint/naming-convention */ | ||
} | ||
|
||
export { Signale }; |
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
Oops, something went wrong.