Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: setup jest testing and gh workflows #21

Merged
merged 2 commits into from
Jul 11, 2024
Merged

Conversation

0xnigir1
Copy link
Collaborator

🤖 Linear

Closes ZKS-85 ZKS-86

Description

Properly configure Jest, install mocking helper and configure GH Workflows for test and e2e test

@0xnigir1 0xnigir1 requested a review from 0xkenj1 July 11, 2024 14:13
Copy link

linear bot commented Jul 11, 2024

ZKS-85 Testing framework

Set up testing framework, either jest or vitest. Evaluate the best fit for our project.

ZKS-86 Base CI/CD workflows

You can copy workflows from old ZKchainHub repo

  • Lint
  • Build
  • Testing

cache: "pnpm"

- name: Install dependencies
run: pnpm install
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add --frozen-lockfile pls

# - name: Run tests
# run: yarn test
- name: Install dependencies
run: pnpm install
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:D

@0xkenj1 0xkenj1 self-requested a review July 11, 2024 14:33
# - name: Run tests
# run: yarn test
- name: Install dependencies
run: pnpm install
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:D

@0xnigir1 0xnigir1 requested a review from 0xkenj1 July 11, 2024 14:49
@0xnigir1 0xnigir1 merged commit 1dd745e into dev Jul 11, 2024
6 checks passed
@0xnigir1 0xnigir1 deleted the feat/setup-testing branch July 11, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants