Skip to content

Commit 3a4c90b

Browse files
authored
fix(sinon): Add missing License (#123)
1 parent 29688ed commit 3a4c90b

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

packages/sinon/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Stack Builders Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

packages/sinon/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You can find the full API reference [here](https://stackbuilders.github.io/asser
2525

2626
## Usage
2727

28-
You just need to load the plugin in a file that runs before the tests execution, like a `setup.ts` or something like that:
28+
You just need to load the plugin in a file that runs before the test execution, like a `setup.ts` or something like that:
2929

3030
```ts
3131
// setup.ts
@@ -59,7 +59,7 @@ expect(spy).toHaveArgs(10, "long-range");
5959
expect(spy).toThrow();
6060
```
6161

62-
The assertions above act over any of the calls made to the spy. You can get more specific matchers if you assert over a single spy call:
62+
The assertions above act over any of the calls made to the spy. You can get more specific methods if you assert over a single spy call:
6363

6464
```ts
6565
import { expect } from "@assertive-ts/core";
@@ -90,15 +90,15 @@ expect(spy)
9090
.toHaveMessage("Something went wrong...");
9191
```
9292

93-
Notice how `call(..)` and `.toBeCalledOnce()` methods return an assertion over the single call, this way you can chain matchers instead of writing more statements.
93+
Notice how both `.call(..)` and `.toBeCalledOnce()` return an assertion over the single call, this way you can chain methods instead of writing more statements.
9494

9595
## License
9696

9797
MIT, see [the LICENSE file](https://github.com/stackbuilders/assertive-ts/blob/main/packages/sinon/LICENSE).
9898

9999
## Contributing
100100

101-
Do you want to contribute to this project? Please take a look at our [contributing guideline](https://github.com/stackbuilders/assertive-ts/blob/main/docs/CONTRIBUTING.md) to know how you can help us build it.
101+
Do you want to contribute to this project? Please take a look at our [contributing guidelines](https://github.com/stackbuilders/assertive-ts/blob/main/docs/CONTRIBUTING.md) to know how you can help us build it.
102102

103103
---
104104

0 commit comments

Comments
 (0)