-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs): directory sync fix + test bed rewrites (#421)
* chore: rename test name, rename console.log to console.info I don't like the word 'only' in tests lol, makes searching for .only() tests kinda annoying! Also using console.info so our console mocking doesn't interfere with our local debugging. ESLint config on this to come! * fix: make prompt for creating new version more generic * test(edit): refactor tests to check for resolved/rejected promise values * docs(edit): add some comments on anti-patterns stuff we're doing * fix: reject promise if any files fail to upload * fix: don't allow new version creation in docs syncing * test: rewrite test for handling invalid docs syncing * docs: more notes re: categories * test: remove before/afterEach hooks We're only using this mock in a single place! * chore: PR feedback Co-Authored-By: Jon Ursenbach <jon@ursenba.ch> Co-authored-by: Jon Ursenbach <jon@ursenba.ch>
- Loading branch information
1 parent
0c579b7
commit b793afc
Showing
4 changed files
with
90 additions
and
106 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