mirror of
https://github.com/yaklang/yaklang-chrome-extension.git
synced 2026-09-25 12:41:53 +08:00
feat: advance browser agent integration workflows
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
cryptoDeepCaptureMatcher,
|
||||
cryptoEventLabel,
|
||||
isForwardCryptoEvent,
|
||||
isReverseCryptoEvent,
|
||||
normalizeBrowserRecordingCrypto,
|
||||
} from './model';
|
||||
|
||||
@@ -50,6 +51,8 @@ describe('browser crypto model', () => {
|
||||
it('classifies forward and reverse RSA calls', () => {
|
||||
expect(isForwardCryptoEvent(cryptoEvent('encrypt'))).toBe(true);
|
||||
expect(isForwardCryptoEvent(cryptoEvent('decrypt'))).toBe(false);
|
||||
expect(isReverseCryptoEvent(cryptoEvent('decrypt'))).toBe(true);
|
||||
expect(isReverseCryptoEvent(cryptoEvent('verify'))).toBe(false);
|
||||
});
|
||||
|
||||
it('uses adapter-aware labels and exact wrapper handles for deep capture', () => {
|
||||
|
||||
Reference in New Issue
Block a user