Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 1.82 KB

README.md

File metadata and controls

73 lines (50 loc) · 1.82 KB

mskelton.dev

Build Playwright Tests

Welcome to my personal website!

Installing

Dependencies are managed with pnpm and can be installed with the pnpm install command.

pnpm install

Starting the Dev Server

To start the dev server on localhost:3000, run the following command.

pnpm dev

Linting

To lint the project with ESLint, run the following command.

pnpm lint

Type Checking

Type checking the project can be done by running the following command.

See the TypeScript docs for a full list of CLI options that can be passed to this command.

# Run TypeScript once
pnpm ts

# Run TypeScript in watch mode
pnpm ts -w

Testing

End-to-end tests utilize Playwright and can be run with the following command. If the dev server is not running locally, Playwright will automatically start it for the duration of the tests.

See the Playwright docs for a full list of CLI options that can be passed to this command.

# Run all tests
pnpm test

# Run test files matching "home"
pnpm test home

License

This project is open for contribution but the source code itself uses a commercial template and is therefore not licensed under any open-source license. Forking this project as a base for your own projects is not permitted under the license of the original template.