SHA256
Добавить поддержку SHiNE в кошелёк
This commit is contained in:
@@ -19,10 +19,11 @@ test('profile views attach counters from server cache and support user action',
|
||||
assert.match(other, /openShineSupportDialog\(\{ recipientLogin: card\.login/);
|
||||
});
|
||||
|
||||
test('wallet supports direct SHiNE economy donation', () => {
|
||||
test('wallet offers SHiNE economy donation through the menu, not the Solana wallet', () => {
|
||||
const wallet = file('../js/pages/wallet-view.js');
|
||||
assert.match(wallet, /id="donate-shine"/);
|
||||
assert.match(wallet, /openShineSupportDialog\(\{ onSuccess/);
|
||||
const menu = wallet.split('function renderWalletChoice()')[1].split('async function renderShineBlockchainWallet()')[0];
|
||||
assert.match(menu, /openShineSupportDialog\(\)/);
|
||||
assert.doesNotMatch(wallet, /id="donate-shine"/);
|
||||
});
|
||||
|
||||
test('message buttons pass checked block hashes, not message text', () => {
|
||||
|
||||
Reference in New Issue
Block a user