Skip to content

Commit

Permalink
add(vest): isTested suite selector
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Dec 1, 2023
1 parent 91661a6 commit c810417
Show file tree
Hide file tree
Showing 16 changed files with 140 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ exports[`Base behavior Should produce correct validation result 1`] = `
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ exports[`Stateful async tests Merges skipped validations from previous suite 1`]
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 1,
Expand Down Expand Up @@ -143,6 +144,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -263,6 +265,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ exports[`Stateful behavior Should merge skipped fields with previous values 1`]
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -116,6 +117,7 @@ exports[`Stateful behavior Should merge skipped fields with previous values 2`]
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -217,6 +219,7 @@ exports[`Stateful behavior Should merge skipped fields with previous values 3`]
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -306,6 +309,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -334,6 +338,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -396,6 +401,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -460,6 +466,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ exports[`useLoadSuite Calling useLoadSuite should resume from loaded state 1`] =
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -421,6 +422,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ exports[`test.memo cache hit Should produce correct initial result 1`] = `
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -94,6 +95,7 @@ exports[`test.memo cache hit sync Should restore previous result on re-run 1`] =
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ exports[`Test Vest's \`test\` function test params creates a test without a key
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -114,6 +115,7 @@ exports[`Test Vest's \`test\` function test params creates a test without a mess
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -183,6 +185,7 @@ exports[`Test Vest's \`test\` function test params creates a test without a mess
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ exports[`include Field is excluded via \`skip\` Should disregard \`include.when\
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -77,6 +78,7 @@ exports[`include Field is excluded via \`skip\` Should disregard \`include\` and
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -152,6 +154,7 @@ exports[`include Test is excluded via \`skip.group\` Should disregard \`include.
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -227,6 +230,7 @@ exports[`include Test is excluded via \`skip.group\` Should disregard \`include\
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -281,6 +285,7 @@ exports[`include Test is excluded via \`skipWhen\` Should disregard \`include.wh
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -326,6 +331,7 @@ exports[`include Test is excluded via \`skipWhen\` Should disregard \`include\`
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -376,6 +382,7 @@ exports[`include There is an \`onlyd\` field \`include\` is run as-is without mo
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -430,6 +437,7 @@ exports[`include There is an \`onlyd\` field include().when() \`when\` param is
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -498,6 +506,7 @@ exports[`include There is an \`onlyd\` field include().when() \`when\` param is
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -566,6 +575,7 @@ exports[`include There is an \`onlyd\` field include().when() \`when\` param is
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -611,6 +621,7 @@ exports[`include There is an \`onlyd\` field include().when() \`when\` param is
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -679,6 +690,7 @@ exports[`include There is an \`onlyd\` field include().when() \`when\` param is
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -742,6 +754,7 @@ exports[`include There is an \`onlyd\` field include().when() \`when\` param is
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -805,6 +818,7 @@ exports[`include There is an \`onlyd\` field include().when() \`when\` param is
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -873,6 +887,7 @@ exports[`include There is an \`onlyd\` field include().when() \`when\` param is
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -941,6 +956,7 @@ exports[`include When no \`skip\` or \`only\` include has no effect 1`] = `
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -1000,6 +1016,7 @@ exports[`include When no \`skip\` or \`only\` include().when has no effect 1`] =
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ exports[`Top Level Focus Top Level Skip When passing false Should run all fields
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -114,6 +115,7 @@ exports[`Top Level Focus Top Level Skip When passing undefined Should run all fi
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -227,6 +228,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -320,6 +322,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -415,6 +418,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -529,6 +533,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -612,6 +617,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -744,6 +750,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -846,6 +853,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -918,6 +926,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -990,6 +999,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -1046,6 +1056,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -1108,6 +1119,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down Expand Up @@ -1175,6 +1187,7 @@ SuiteSummary {
"hasWarnings": [Function],
"hasWarningsByGroup": [Function],
"isPending": [Function],
"isTested": [Function],
"isValid": [Function],
"isValidByGroup": [Function],
"pendingCount": 0,
Expand Down
Loading

2 comments on commit c810417

@vercel
Copy link

@vercel vercel bot commented on c810417 Dec 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vest-next – ./website

vest-website.vercel.app
vest-next-ealush.vercel.app
vest-next.vercel.app
vest-next-git-latest-ealush.vercel.app

@vercel
Copy link

@vercel vercel bot commented on c810417 Dec 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vest – ./website

vest.vercel.app
vestjs.dev
vest-ealush.vercel.app
vest-git-latest-ealush.vercel.app
www.vestjs.dev

Please sign in to comment.