Page MenuHomePhabricator

[mock-chronik-client] move to modules
AbandonedPublicDraft

Authored by bytesofman on Mar 3 2024, 22:03.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

This is now a published module

This diff was created by

cd bitcoin-abc/
mv apps/mock-chronik-client modules/
Test Plan

Confirm move-only diff

Event Timeline

Tail of the build log:

/work/abc-ci-builds/mock-chronik-client-tests/script.sh: line 15: pushd: /work/apps/mock-chronik-client: No such file or directory
Build mock-chronik-client-tests failed with exit code 1

Failed tests logs:

====== CashTab Unit Tests: <App /> If Cashtab starts with 1.5.* cashtabCache, it is wiped and migrated to 1.6.* cashtabCache ======
Error: expect(received).toEqual(expected) // deep equality

- Expected  - 14
+ Received  +  1

  Object {
-   "tokens": Array [
-     Array [
-       "3fee3384150b030490b7bee095a63900f66a45f2d8e3002ae2cf17ce3ef4d109",
-       Object {
-         "decimals": 0,
-         "success": true,
-         "tokenDocumentHash": "",
-         "tokenDocumentUrl": "https://cashtab.com/",
-         "tokenId": "3fee3384150b030490b7bee095a63900f66a45f2d8e3002ae2cf17ce3ef4d109",
-         "tokenName": "BearNip",
-         "tokenTicker": "BEAR",
-       },
-     ],
-   ],
+   "tokens": Array [],
  }

Ignored nodes: comments, script, style
<html>
  <head />
  <body>
    <div
      class="ant-notification ant-notification-topRight css-dev-only-do-not-override-1rqnfsa ant-notification-stack ant-notification-stack-expanded"
      style="right: 0px; top: 24px;"
    >
      <div
        class="ant-notification-notice-wrapper"
        style="transform: translate3d(0, 16px, 0) scaleX(1); height: 0px;"
      >
        <div
          class="ant-notification-notice ant-notification-notice-success ant-notification-notice-closable"
        >
          <div
            class="ant-notification-notice-content"
          >
            <div
              class="ant-notification-notice-with-icon"
              role="alert"
            >
              <span
                class="ant-notification-notice-icon"
              >
                <div
                  class="ant-image css-dev-only-do-not-override-1rqnfsa"
                  style="width: 24px; height: 24px;"
                >
                  <img
                    class="ant-image-img css-dev-only-do-not-override-1rqnfsa"
                    height="24px"
                    src="test-file-stub"
                    style="height: 24px;"
                    width="24px"
                  />
                </div>
              </span>
              <div
                class="ant-notification-notice-message"
              >
                Success
              </div>
              <div
                class="ant-notification-notice-description"
              >
                <a
                  href="https://explorer.e.cash/tx/ce727c96439dfe365cb47f780c37ebb2e756051db62375e992419d5db3c81b1e"
                  rel="noopener noreferrer"
                  target="_blank"
                >
                  Transaction successful. Click to view in block explorer.
                </a>
              </div>
            </div>
          </div>
          <a
            class="ant-notification-notice-close"
            tabindex="0"
          >
            <span
              class="ant-notification-notice-close-x"
            >
              <span
                aria-label="close"
                class="anticon anticon-close ant-notification-notice-close-icon"
                role="img"
              >
                <svg
                  aria-hidden="true"
                  data-icon="close"
                  fill="currentColor"
                  fill-rule="evenodd"
                  focusable="false"
                  height="1em"
                  viewBox="64 64 896 896"
                  width="1em"
                >
                  <path
                    d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
                  />
                </svg>
              </span>
            </span>
          </a>
        </div>
      </div>
      <div
        class="ant-notification-notice-wrapper"
        style="transform: translate3d(0, 0, 0);"
      >
        <div
          class="ant-notification-notice ant-notification-notice-success ant-notification-notice-closable"
        >
          <div
            class="ant-notification-notice-content"
          >
            <div
              class="ant-notification-notice-with-icon"
              role="alert"
            >
              <span
                class="ant-notification-notice-icon"
              >
                <div
                  class="ant-image css-dev-only-do-not-override-1rqnfsa"
                  style="width: 24px; height: 24px;"
                >
                  <img
                    class="ant-image-img css-dev-only-do-not-override-1rqnfsa"
                    height="24px"
                    src="test-file-stub"
                    style="height: 24px;"
                    width="24px"
                  />
                </div>
              </span>
              <div
                class="ant-notification-notice-message"
              >
                eToken transaction received: TBC
              </div>
              <div
                class="ant-notification-notice-description"
              >
                You received 10000000000 tabcash
              </div>
            </div>
          </div>
          <a
            class="ant-notification-notice-close"
            tabindex="0"
          >
            <span
              class="ant-notification-notice-close-x"
            >
              <span
                aria-label="close"
                class="anticon anticon-close ant-notification-not...
    at toEqual (/work/cashtab/src/components/__tests__/App.test.js:746:63)

Each failure log is accessible here:
CashTab Unit Tests: <App /> If Cashtab starts with 1.5.* cashtabCache, it is wiped and migrated to 1.6.* cashtabCache