Skip to content

Commit

Permalink
fix(test): proper check in tests
Browse files Browse the repository at this point in the history
release-npm
  • Loading branch information
tobua committed Mar 6, 2024
1 parent 186e171 commit e63d9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utility/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export const writePackageJson = async () => {
resetIgnoredProperties(contents)

// Avoid adding additional properties in CI environment.
if (!isCI && typeof jest !== 'undefined') {
if (!isCI || typeof jest !== 'undefined') {
await writePackageJsonFile(contents)
}

Expand Down

0 comments on commit e63d9d6

Please sign in to comment.