forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Whiteboard undo redo bug (microsoft#11260)
* Return undefined during empty detach trait * return undefined when inserting empty traits * Fix previous commit for inserting empty trait * update test case * fix lint errors * fix lint error * revert previous commit * fix logic for inserting empty trait * Add test case for empty detach * fix lint errors * Updated test titles, changed test case logic. * Changed test case formatting * fix linting error * Updated traitlabel, and fixed testcase * prevent residual builtNodes after insert * replace undefined with continue for empty traits * build but skips insert/detach of empty traits * update test cases for skip instead of undefined * Simplified test case * Add use of helper function * Added expectDefined to test case * test to check if built/detached nodes are cleared * Add test case for single empty insert * fix lint errors * added whitespace * added logging to revert function * Comment addressing input/output array size * cleaned up code for checking if logger is defined
- Loading branch information
1 parent
a09ec04
commit 38e1982
Showing
3 changed files
with
106 additions
and
13 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