Skip to content

Commit

Permalink
feat: prepare v1 release (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Dec 4, 2023
1 parent 9a8cbf0 commit 6a90437
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 43 deletions.
8 changes: 4 additions & 4 deletions examples/example-basic/test/report.test.ts
Expand Up @@ -12,10 +12,10 @@ test('report matches snapshot', () => {
const report = stabilizeReport(output);

expect(report).toMatchInlineSnapshot(`
"<testExecutions version=\\"1\\">
<file path=\\"test/math.test.ts\\">
<testCase name=\\"math - sum\\" duration=\\"123\\" />
<testCase name=\\"math - multiply\\" duration=\\"123\\" />
"<testExecutions version="1">
<file path="test/math.test.ts">
<testCase name="math - sum" duration="123" />
<testCase name="math - multiply" duration="123" />
</file>
</testExecutions>"
`);
Expand Down
Expand Up @@ -6,9 +6,9 @@ describe('renderUser', () => {
test('renders user', () => {
expect(renderUser('John Doe')).toMatchInlineSnapshot(`
"
<div class=\\"user\\">
<span class=\\"firstname\\">John</span>
<span class=\\"lastname\\">Doe</span>
<div class="user">
<span class="firstname">John</span>
<span class="lastname">Doe</span>
</div>
"
`);
Expand Down
18 changes: 9 additions & 9 deletions examples/example-workspace/report-test/report.test.ts
Expand Up @@ -17,17 +17,17 @@ test('report matches snapshot', () => {
const report = stabilizeReport(output);

expect(report).toMatchInlineSnapshot(`
"<testExecutions version=\\"1\\">
<file path=\\"packages/client/test/render-user.test.ts\\">
<testCase name=\\"renderUser - renders user\\" duration=\\"123\\" />
"<testExecutions version="1">
<file path="packages/client/test/render-user.test.ts">
<testCase name="renderUser - renders user" duration="123" />
</file>
<file path=\\"packages/server/test/request-parse.test.ts\\">
<testCase name=\\"parseUserFromRequest - returns user from request\\" duration=\\"123\\" />
<file path="packages/server/test/request-parse.test.ts">
<testCase name="parseUserFromRequest - returns user from request" duration="123" />
</file>
<file path=\\"packages/shared/test/user-utils.test.ts\\">
<testCase name=\\"parseName - returns first name\\" duration=\\"123\\" />
<testCase name=\\"parseName - returns last name\\" duration=\\"123\\" />
<testCase name=\\"getInitials - returns initials\\" duration=\\"123\\" />
<file path="packages/shared/test/user-utils.test.ts">
<testCase name="parseName - returns first name" duration="123" />
<testCase name="parseName - returns last name" duration="123" />
<testCase name="getInitials - returns initials" duration="123" />
</file>
</testExecutions>"
`);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -39,10 +39,10 @@
"publint": "^0.2.6",
"typescript": "^5.3.2",
"vite": "^5.0.4",
"vitest": "1.0.0-beta.6"
"vitest": "^1.0.0"
},
"peerDependencies": {
"vitest": ">=0.18.0"
"vitest": ">=1"
},
"keywords": [
"vitest",
Expand Down
50 changes: 25 additions & 25 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6a90437

Please sign in to comment.