Nathan.fooo 3b51a6e6be
chore: reload workspace when fail to load at the first time (#4633)
* chore: reload workspace when fail to load at the first time

* fix: clippy

* chore: update client api

* chore: fix wasm build

* chore: fix test
2024-02-08 23:53:05 +08:00
..
2024-01-06 11:50:05 +08:00
2024-02-04 05:50:23 +08:00
2024-02-04 05:50:23 +08:00
2024-01-06 11:50:05 +08:00
2024-02-04 05:50:23 +08:00
2024-02-04 05:50:23 +08:00

AppFlowy Web Project

Installation

cd appflowy-web

# Install dependencies
rm -rf node_modules && pnpm install

Running the app

# development
pnpm run dev

# production mode
pnpm run build

# generate wasm
pnpm run wasm

Run tests in Chrome

Before executing the test, you need to install the Chrome Driver. If you are using a Mac, you can easily install it using Homebrew.

brew install chromedriver

Go to frontend/appflowy_web/wasm-libs and run:

wasm-pack test --chrome

Run tests in headless Chrome

wasm-pack test --headless --chrome