Skip to content

Commit 9bedb5c

Browse files
authored
Merge pull request #121 from filiphric/120-make-env-property-in-testconfigoverrides-optional
120 make env property in testconfigoverrides optional
2 parents f9b9299 + 76727e7 commit 9bedb5c

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [2.11.1](https://github.com/filiphric/cypress-plugin-api/compare/v2.11.0...v2.11.1) (2023-05-15)
6+
7+
8+
### Bug Fixes
9+
10+
* types for env object being wrongly set as required ([8a1a995](https://github.com/filiphric/cypress-plugin-api/commits/8a1a9954eebaa16ed505cd2715d4ba77d07c1d9b))
11+
512
## [2.11.0](https://github.com/filiphric/cypress-plugin-api/compare/v2.10.5...v2.11.0) (2023-03-17)
613

714

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Filip Hric (https://filiphric.com/)",
33
"license": "ISC",
44
"name": "cypress-plugin-api",
5-
"version": "2.11.0",
5+
"version": "2.11.1",
66
"keywords": [
77
"cypress",
88
"api",

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ declare global {
9090
env(object: PluginEnvOptions): void;
9191
}
9292
interface TestConfigOverrides {
93-
env?: PluginEnvOptions
93+
env?: Partial<PluginEnvOptions>
9494
}
9595
}
9696
interface Window {

0 commit comments

Comments
 (0)