-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix unpslash author meta, sanitize metadata to strings and improve co…
…mpanion tests (#3478) * fix broken npm run test * improve jest / companion add `npm run test:companion:watch` move env variables into code to make testing easier this allows for watching (source is causing problems with npm scripts) also now we can run `corepack yarn test:companion -t 'single test'` * fix root project jest make sure we don't run companion tests on npm run test:unit (as they don't work in a browser/jsdom environment) * improve validation logic previously incorrect options gives an Uploader object in an incorrect state * rewrite uploader to make it more testable * add test for xhr * check that metadata values are strings * fix nested meta causing error #3477 * convert meta to strings instead like the official FormData spec does * fix broken companion dev #3473 * fix botched merge * fix botched merge and remove --fix * fix botchedf merge * quick fix * . * remove eslint fix
- Loading branch information
Showing
10 changed files
with
206 additions
and
122 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 |
---|---|---|
|
@@ -31,7 +31,6 @@ config/auth.js | |
|
||
*.pem | ||
env.* | ||
!env.test.sh | ||
|
||
output/* | ||
test/output/* | ||
|
This file was deleted.
Oops, something went wrong.
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.