Skip to content

Commit

Permalink
fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjah committed Oct 15, 2024
1 parent 7b5b8bc commit fdf201e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/massaStation-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
sudo apt update
npm ci
sudo apt install xvfb libnss3-tools libwebkit2gtk-4.0-dev
sudo apt install xvfb libnss3-tools libwebkit2gtk-4.1-0
- name: Build bundle
run: npm run build
Expand Down Expand Up @@ -64,6 +64,7 @@ jobs:

- name: Install MassaStation Wallet
run: |
node -v
curl -X POST "http://station.massa/plugin-manager/?source=https://github.com/massalabs/station-massa-wallet/releases/latest/download/wallet-plugin_linux-amd64.zip"
- name: Switch to buildnet
Expand Down
2 changes: 1 addition & 1 deletion jest.e2e.config.esm.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
testEnvironment: 'node',
setupFilesAfterEnv: ['./test-e2e/setup.ts'],
transform: {
'^.+\\.tsx?$': 'ts-jest',
Expand Down
1 change: 1 addition & 0 deletions test-e2e/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ export let msWallet: MassaStationWallet;
jest.setTimeout(120_000);

beforeAll(async () => {
console.log(`>>>>>>>>>> Node.js version: ${process.version}`);
msWallet = await getMassaStationWallet();
});

0 comments on commit fdf201e

Please sign in to comment.