-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Update package exports and refactor test helpers (#830)
* ♻ Update @percy/env exports ✅ Refactor @percy/env test helper * ♻ Update @percy/logger exports ✅ Refactor test helpers slightly * ✅ Update test config - Allow respying with jasmine spies - Add generator spacing lint config for methods - Clean up defunct babel plugin * ♻ Update @percy/client exports ✅ Rename client test helper * ♻ Update @percy/sdk-utils exports ✅ Fix test helper imports * ♻ Update @percy/config exports ✅ Refactor test helpers to use full filesystem mocks * ♻ Update @percy/core exports & imports ✅ Refactor test helpers and usage within tests * ♻ Update @percy/cli-command exports & imports ✅ Reexport core test helpers for consuming packages * ♻ Update @percy/cli-build exports ✅ Update test imports * ♻ Update @percy/cli-config exports 🐛 Create parent directories when creating config files 🐛 Fix renaming extensionless cnofig files when migrating ✅ Update test imports and remove unnecessary helpers file * ♻ Update @percy/cli-upload exports ♻ Replace globby with fast-glob ✅ Refactor tests to use new helpers * ♻ Update @percy/cli exports & imports ✅ Refactor tests to use new helpers * ♻ Update @percy/cli-snapshot exports ✅ Refactor tests to use new helpers ✅ Remove redundant default import test * ♻ Update @percy/cli-exec exports & imports ✅ Refactor tests to use new helpers * ➖ Remove quibble dev dependency * 💚 Increment cache key for windows * ✅ Correctly alias package exports during dev * ♻ Update cli-command utils exports
- Loading branch information
Showing
106 changed files
with
1,064 additions
and
1,168 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
/ \ | ||
_____________/_ __ \_____________ | ||
Times we have broken CI: 3 | ||
Times Windows has broken CI: 99+ |
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
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,2 +1,5 @@ | ||
export { default, command } from './command'; | ||
export { legacyCommand, legacyFlags as flags } from './legacy'; | ||
// export common packages to avoid dependency resolution issues | ||
export { default as PercyConfig } from '@percy/config'; | ||
export { default as logger } from '@percy/logger'; |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from '@percy/config/utils'; | ||
export * from '@percy/core/utils'; |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from '@percy/core/test/helpers'; |
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
Oops, something went wrong.