Skip to content

Commit ebf6f2d

Browse files
Fix more typos
1 parent 3a71768 commit ebf6f2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/site/docs/migrations/1to2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ title: Migrating from 1.x to 2.x
44
---
55

66
# Migrating from bUnit 1.x to 2.x
7-
This document describes the changes made in bUnit 2.x that may affect existing tests written for bUnit 1.x. The old documentation for bUnit 1.x is available at: https://v1.bunit.dev.
7+
This document describes the changes made in bUnit 2.x that may affect existing tests written for bUnit 1.x. The old documentation for bUnit 1.x is available at: https://v1.bunit.dev.
88

99
## One package to rule them all
10-
`bunit.core` and `bunit.web` have be merged into a single package called `bunit`. The seperation was used to allow for extensibitlity, which isn't used anymore. Therefore `bunit.core` and `bunit.web` will stay on version 1.x, while `bunit` will be the only package going forward. To migrate, simply remove the `bunit.core` and `bunit.web` packages and add the `bunit` package. We don't expect many users to have used the `bunit.core` or `bunit.web` package directly, but may hit 3rd party packages that depend on them.
10+
`bunit.core` and `bunit.web` have been merged into a single package called `bunit`. The separation was used to allow for extensibility, which isn't used anymore. Therefore `bunit.core` and `bunit.web` will stay on version 1.x, while `bunit` will be the only package going forward. To migrate, simply remove the `bunit.core` and `bunit.web` packages and add the `bunit` package. We don't expect many users to have used the `bunit.core` or `bunit.web` package directly, but may hit 3rd party packages that depend on them.
1111

1212
## `TestContext` renamed to `BunitContext`
1313

@@ -89,7 +89,7 @@ The `DisposeComponents` method has been renamed to `DisposeComponentsAsync` and
8989
+ await DisposeComponentsAsync();
9090
```
9191

92-
## The `ComponentParameterFactory` and `ComponentParameter` has been removed
92+
## The `ComponentParameterFactory` and `ComponentParameter` has been removed
9393
The `ComponentParameterFactory` class has been removed (and therefore the usage of `ComponentParameter`).
9494
Instead, use the `Render` method (and its overloads) to pass parameters to components.
9595

0 commit comments

Comments
 (0)