Closed sheremet-va closed 4 days ago
Name | Link |
---|---|
Latest commit | ce19da046d7b44c3931600700c383f47f28d7e75 |
Latest deploy log | https://app.netlify.com/sites/vitest-dev/deploys/673b07da0e59d20008a89d4d |
Deploy Preview | https://deploy-preview-6906--vitest-dev.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Description
In preparation for the public API. Previously
TestProject
was a prototype for the public API, but it was hard to work with internally because it was too restrictive. In this PR I decided to merge them together and introduce a sort of convention:_
and marked with@internal
are internal and not part of the public API. They are striped from the public interface during bundling@deprecated
tag - they will be removed in V3 (we can remove them right away, they shouldn't have been used at all)WorkspaceProject
was renamed toTestProject
- all properties from the test project are now present there. The file was also renamed fromworkspace
toproject
.vite
or.config
was accessed before the project was initialised. This should catch unexpected errors with a nice stack traceThe public test project API now looks like this (excluding deprecated and private APIs):
TODO:
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yaml
unless you introduce a new test example.Tests
pnpm test:ci
.Documentation
pnpm run docs
command.Changesets
feat:
,fix:
,perf:
,docs:
, orchore:
.