-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Add vitest layer api #3689
Add vitest layer api #3689
Conversation
🦋 Changeset detectedLatest commit: aa7d145 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
What about layer(Foo.Live)("test name", (it) => {})
const describe = layer(Foo.Live);
describe("test/a", (it) => {}) Using Vi.describe internally to group tests |
Was also wondering about how this can play with describe, could also be: describe("...", layer, (it) => ...) Also we should warm up the layer in a beforeAll to avoid randomly adding time to the first executed test |
Added support for an optional name. |
Looks like in beforeAll / afterAll we are using promises that will throw FiberFailure that will be problematic in rendering of errors, we should use the same method we use for it.effect |
41cff7f
to
b652a19
Compare
No description provided.