mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-06-18 10:41:03 +00:00
Update domain references to pezkuwichain.app and rebrand from polkadot
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-mocks authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import sinonChrome from 'sinon-chrome';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-namespace
|
||||
namespace ChromeWrapper {
|
||||
export interface IAction {
|
||||
setBadgeText: (content: object) => Promise<void>;
|
||||
}
|
||||
export const action: IAction = {
|
||||
setBadgeText: (_: object) => {
|
||||
return new Promise<void>((resolve, _reject) => {
|
||||
resolve();
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
const extendedSinonChrome = {
|
||||
...sinonChrome,
|
||||
action: ChromeWrapper.action
|
||||
};
|
||||
|
||||
export default extendedSinonChrome;
|
||||
Reference in New Issue
Block a user