|
2 | 2 |
|
3 | 3 | exports[`HashLink.vue Should display a full link to the address 1`] = `
|
4 | 4 | <span><!----> <a href="/address/0x2D481eeb2bA97955CD081Cf218f453A817259AB1" class="">0x2D481eeb2bA97955CD081Cf218f453A817259AB1</a> <!----> <span>
|
5 |
| - <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x2D481eeb2bA97955CD081Cf218f453A817259AB1" value="0x2D481eeb2bA97955CD081Cf218f453A817259AB1"></span> |
| 5 | + <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x2D481eeb2bA97955CD081Cf218f453A817259AB1" value="0x2D481eeb2bA97955CD081Cf218f453A817259AB1"></span> |
6 | 6 | <!----></span>
|
7 | 7 | `;
|
8 | 8 |
|
9 | 9 | exports[`HashLink.vue Should display a shortened link to the address 1`] = `
|
10 |
| -<span><!----> <a href="/address/0x2D481eeb2bA97955CD081Cf218f453A817259AB1" class="">0x2D481eeb...59AB1</a> <!----> <span> |
11 |
| - <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x2D481eeb2bA97955CD081Cf218f453A817259AB1" value="0x2D481eeb2bA97955CD081Cf218f453A817259AB1"></span> |
| 10 | +<span><!----> <a href="/address/0x2D481eeb2bA97955CD081Cf218f453A817259AB1" class="">0x2D481e...9AB1</a> <!----> <span> |
| 11 | + <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x2D481eeb2bA97955CD081Cf218f453A817259AB1" value="0x2D481eeb2bA97955CD081Cf218f453A817259AB1"></span> |
12 | 12 | <!----></span>
|
13 | 13 | `;
|
14 | 14 |
|
15 | 15 | exports[`HashLink.vue Should display link to token if tokenId is passed 1`] = `
|
16 | 16 | <span><!----> <a href="/address/0x123" class="">Ethernal</a> <span>
|
17 | 17 | (<a href="/address/0x123/1" class="">#1</a>)
|
18 | 18 | </span> <span>
|
19 |
| - <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x123" value="0x123"></span> |
| 19 | + <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x123" value="0x123"></span> |
20 | 20 | <!----></span>
|
21 | 21 | `;
|
22 | 22 |
|
23 | 23 | exports[`HashLink.vue Should display smaller hash if xsHash option is passed 1`] = `
|
24 |
| -<span><!----> <a href="/address/0xed5af388653567af2f388e6224dc7c4b3241c544" class="">0xed5...1c544</a> <!----> <span> |
25 |
| - <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0xed5af388653567af2f388e6224dc7c4b3241c544" value="0xed5af388653567af2f388e6224dc7c4b3241c544"></span> |
| 24 | +<span><!----> <a href="/address/0xed5af388653567af2f388e6224dc7c4b3241c544" class="">0xed5...c544</a> <!----> <span> |
| 25 | + <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0xed5af388653567af2f388e6224dc7c4b3241c544" value="0xed5af388653567af2f388e6224dc7c4b3241c544"></span> |
26 | 26 | <!----></span>
|
27 | 27 | `;
|
28 | 28 |
|
29 | 29 | exports[`HashLink.vue Should display the contract name when no token 1`] = `
|
30 | 30 | <span><!----> <a href="/address/0x123" class="">My Contract</a> <!----> <span>
|
31 |
| - <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x123" value="0x123"></span> |
| 31 | + <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x123" value="0x123"></span> |
32 | 32 | <!----></span>
|
33 | 33 | `;
|
34 | 34 |
|
35 | 35 | exports[`HashLink.vue Should display the name for the 0x0 address 1`] = `
|
36 | 36 | <span><!----> <a href="/address/0x0000000000000000000000000000000000000000" class="">Black Hole</a> <!----> <span>
|
37 |
| - <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x0000000000000000000000000000000000000000" value="0x0000000000000000000000000000000000000000"></span> |
| 37 | + <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x0000000000000000000000000000000000000000" value="0x0000000000000000000000000000000000000000"></span> |
38 | 38 | <!----></span>
|
39 | 39 | `;
|
40 | 40 |
|
41 | 41 | exports[`HashLink.vue Should display the token name if available & no token symbol 1`] = `
|
42 | 42 | <span><!----> <a href="/address/0x123" class="">My Contract</a> <!----> <span>
|
43 |
| - <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x123" value="0x123"></span> |
| 43 | + <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x123" value="0x123"></span> |
44 | 44 | <!----></span>
|
45 | 45 | `;
|
46 | 46 |
|
47 | 47 | exports[`HashLink.vue Should display the token name if symbol but flag withTokenName 1`] = `
|
48 | 48 | <span><!----> <a href="/address/0x123" class="">Ethernal</a> <!----> <span>
|
49 |
| - <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x123" value="0x123"></span> |
| 49 | + <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x123" value="0x123"></span> |
50 | 50 | <!----></span>
|
51 | 51 | `;
|
52 | 52 |
|
53 | 53 | exports[`HashLink.vue Should display the token symbol if available 1`] = `
|
54 | 54 | <span><!----> <a href="/address/0x123" class="">My Contract</a> <!----> <span>
|
55 |
| - <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x123" value="0x123"></span> |
| 55 | + <button type="button" class="v-icon notranslate v-icon--link mdi mdi-content-copy theme--light" style="font-size: 12px;"></button><input type="hidden" id="copyElement-0x123" value="0x123"></span> |
56 | 56 | <!----></span>
|
57 | 57 | `;
|
58 | 58 |
|
59 |
| -exports[`HashLink.vue Should not be copiable if the notCopiable flag is passed 1`] = `<span><!----> <a href="/address/0x2D481eeb2bA97955CD081Cf218f453A817259AB1" class="">0x2D481eeb...59AB1</a> <!----> <!----> <!----></span>`; |
| 59 | +exports[`HashLink.vue Should not be copiable if the notCopiable flag is passed 1`] = `<span><!----> <a href="/address/0x2D481eeb2bA97955CD081Cf218f453A817259AB1" class="">0x2D481e...9AB1</a> <!----> <!----> <!----></span>`; |
60 | 60 |
|
61 | 61 | exports[`HashLink.vue Should not create links 1`] = `<span><!----> My Contract <!----> <!----> <!----></span>`;
|
62 | 62 |
|
|
0 commit comments