Skip to content

Commit 33bde0f

Browse files
authored
Merge branch 'main' into feat/reply-card-redesign
2 parents 543057f + 0f2e99a commit 33bde0f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+7011
-642
lines changed
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: run-tests-vitest
2+
on:
3+
pull_request: {}
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
run-tests:
11+
runs-on: ubuntu-latest
12+
env:
13+
REACT_APP_INFURA_URL: ${{secrets.INFURA_URL}}
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Common Setup
17+
uses: ./.github/actions/common
18+
19+
- run: echo '//npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}' >> .npmrc
20+
- run: npm install
21+
- run: npm run test:vitest

craco.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ module.exports = {
4242
transformIgnorePatterns: [
4343
'/node_modules/@cloudinary/url-gen/\\.(js|ts|tsx)$',
4444
],
45+
moduleNameMapper: {
46+
'\\.svg\\?react$': '<rootDir>/src/svgr-mock.ts',
47+
},
4548
};
4649
},
4750
},

public/index.html index.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
<meta name="description" content="ZERO" />
99
<!-- added unsafe-eval here, but we should restrict this to *just* the Olm module, rather than for all self -->
1010
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval';" />
11-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
11+
<link rel="apple-touch-icon" href="/logo192.png" />
1212
<meta name="apple-itunes-app" content="app-id=1261522628" />
1313
<script src="/olm.js"></script>
1414
<!--
1515
manifest.json provides metadata used when your web app is installed on a
1616
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1717
-->
18-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18+
<link rel="manifest" href="/manifest.json" />
1919
<!--
2020
Notice the use of %PUBLIC_URL% in the tags above.
2121
It will be replaced with the URL of the `public` folder during the build.
@@ -32,6 +32,7 @@
3232
<div id="root">
3333
<div id="platform"></div>
3434
</div>
35+
<script type="module" src="/src/index.tsx"></script>
3536
<!--
3637
This HTML file is a template.
3738
If you open it directly in the browser, you will see an empty page.

0 commit comments

Comments
 (0)