@rcompat/test 0.1.9 → 0.1.10

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.
@@ -3,8 +3,9 @@ import type UnknownFunction from "@rcompat/type/UnknownFunction";
3
3
  export default class Assert<T> {
4
4
  #private;
5
5
  constructor(actual: T, test: Test);
6
- equals<_Expected extends T>(expected: unknown): void;
6
+ equals(expected: unknown): void;
7
7
  nequals(expected: unknown): void;
8
+ type<_Expected extends T>(): void;
8
9
  true(): void;
9
10
  false(): void;
10
11
  null(): void;
@@ -22,6 +22,9 @@ export default class Assert {
22
22
  nequals(expected) {
23
23
  this.#report(!equals(this.#actual, expected), expected);
24
24
  }
25
+ type() {
26
+ // noop
27
+ }
25
28
  #static(expected) {
26
29
  this.#report(equals(this.#actual, expected), expected);
27
30
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rcompat/test",
3
- "version": "0.1.9",
4
- "description": "test module",
3
+ "version": "0.1.10",
4
+ "description": "Standard library testing",
5
5
  "bugs": "https://github.com/rcompat/rcompat/issues",
6
6
  "license": "MIT",
7
7
  "files": [