filecoin-project / filecoin-project/filecoin-pin

feat: add browser based tests

Open
#175 3 comments 0 reactions 0 assignees View on GitHub
enhancement ready-for-work team/filecoin-pin team/fs-wg
Dominant language
TypeScript
Stars
26
Forks
21
Avg merge
5d 18h
Merged PRs (30d)
27

Description

we should ensure we're testing that browser use of the library works as expected in a proper browser environment.

We're currently using vitest, so we can add browser tests with https://vitest.dev/guide/browser/#configuration. I know synapse-sdk uses playwright-test to run mocha tests in a browser environment, so maybe we want to do that, but that would be a lot of test re-writing.

related: https://github.com/filecoin-project/filecoin-pin/pull/172#issuecomment-3463609669

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.