expect-webdriverio 5.6.5 → 5.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expect-webdriverio",
3
- "version": "5.6.5",
3
+ "version": "5.6.6",
4
4
  "author": "Mykola Grybyk <mykola.grybyk@gmail.com>",
5
5
  "description": "WebdriverIO Assertion Library",
6
6
  "license": "MIT",
@@ -55,7 +55,9 @@
55
55
  "build": "run-s clean compile",
56
56
  "clean": "run-p clean:*",
57
57
  "clean:build": "rimraf ./lib",
58
- "compile": "tsc --build tsconfig.build.json",
58
+ "compile": "run-s compile:*",
59
+ "compile:lib": "tsc --build tsconfig.build.json",
60
+ "compile:check": "if [ ! -f lib/index.js ] || [ $(find lib -type f | wc -l) -le 30 ]; then echo 'File structure under lib is broken'; exit 1; fi",
59
61
  "tsc:root-types": "node types-checks-filter-out-node_modules.js",
60
62
  "test": "run-s test:*",
61
63
  "test:tsc": "tsc --project tsconfig.json --noEmit --rootDir .",
@@ -320,7 +320,7 @@ interface WdioElementOrArrayMatchers<_R, ActualT = unknown> {
320
320
  */
321
321
  toHaveHTML: FnWhenElementOrArrayLike<ActualT, (
322
322
  html: string | RegExp | ExpectWebdriverIO.PartialMatcher<string> | Array<string | RegExp>,
323
- options?: ExpectWebdriverIO.StringOptions
323
+ options?: ExpectWebdriverIO.HTMLOptions
324
324
  ) => Promise<void>>
325
325
 
326
326
  /**