-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #RIVS-321 - Keys count is not updated for logical db
* #RIVS-324 - There is no common refresh for the logical db * #RIVS-317 - Filters not saved when switching between extensions * #RIVS-316 - Filters/sorting dropdown can be overlapped * #RIVS-322 - databaseId is null for TREE_VIEW_KEY_ADDED * #RIVS-323 - Show TTL checkbox doesn't work * #RIVS-325 - Edit String key button not disabled for not loaded key with > 5000 characters
- Loading branch information
1 parent
8868301
commit 82e29cd
Showing
22 changed files
with
243 additions
and
51 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import * as useCliSettingsThunks from 'uiSrc/modules/cli/hooks/cli-settings/useCliSettingsThunks' | ||
import { constants } from 'testSrc/helpers' | ||
import { processCliAction } from 'uiSrc/actions' | ||
|
||
vi.spyOn(useCliSettingsThunks, 'addCli') | ||
|
||
beforeEach(() => { | ||
vi.stubGlobal('ri', { }) | ||
}) | ||
|
||
describe('processCliAction', () => { | ||
it('should call addCli', () => { | ||
processCliAction(constants.VSCODE_CLI_ACTION) | ||
expect(useCliSettingsThunks.addCli).toBeCalled() | ||
}) | ||
}) |
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,23 @@ | ||
import * as useSelectedKey from 'uiSrc/store/hooks/use-selected-key-store/useSelectedKeyStore' | ||
import { selectKeyAction } from 'uiSrc/actions' | ||
import { constants } from 'testSrc/helpers' | ||
|
||
|
||
vi.spyOn(useSelectedKey, 'fetchKeyInfo') | ||
|
||
|
||
beforeEach(() => { | ||
vi.stubGlobal('ri', { }) | ||
|
||
useSelectedKey.useSelectedKeyStore.setState((state) => ({ | ||
...state, | ||
data: constants.KEY_INFO, | ||
})) | ||
}) | ||
|
||
describe('selectKeyAction', () => { | ||
it('should call fetchKeyInfo', () => { | ||
selectKeyAction(constants.VSCODE_SELECT_KEY_ACTION) | ||
expect(useSelectedKey.fetchKeyInfo).toBeCalled() | ||
}) | ||
}) |
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
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.