@opra/testing 1.0.0-alpha.17 → 1.0.0-alpha.18

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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.convertFilter = exports.ApiExpectCollection = void 0;
3
+ exports.ApiExpectCollection = void 0;
4
+ exports.convertFilter = convertFilter;
4
5
  const tslib_1 = require("tslib");
5
6
  const type_is_1 = tslib_1.__importDefault(require("@browsery/type-is"));
6
7
  const common_1 = require("@opra/common");
@@ -254,4 +255,3 @@ function convertFilter(str) {
254
255
  }
255
256
  throw new Error(`${ast.kind} is not implemented yet`);
256
257
  }
257
- exports.convertFilter = convertFilter;
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.objectMatches = void 0;
3
+ exports.objectMatches = objectMatches;
4
4
  function objectMatches(received, expected) {
5
5
  _objectMatches(received, expected, '');
6
6
  }
7
- exports.objectMatches = objectMatches;
8
7
  function _objectMatches(received, expected, path) {
9
8
  if (typeof received !== typeof expected)
10
9
  expect(typeof received).toStrictEqual('object');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/testing",
3
- "version": "1.0.0-alpha.17",
3
+ "version": "1.0.0-alpha.18",
4
4
  "description": "Opra testing package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@browsery/type-is": "^1.6.18-r3",
32
- "@opra/client": "^1.0.0-alpha.17",
33
- "@opra/common": "^1.0.0-alpha.17",
32
+ "@opra/client": "^1.0.0-alpha.18",
33
+ "@opra/common": "^1.0.0-alpha.18",
34
34
  "ansi-colors": "^4.1.3",
35
35
  "jest-matcher-utils": "^29.7.0",
36
36
  "rule-judgment": "^1.1.5"
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { FetchBackend, HttpResponse } from '@opra/client';
3
2
  import { IncomingMessage, Server, ServerResponse } from 'http';
4
3
  import { ApiExpect } from './api-expect/api-expect.js';
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { FetchBackend, HttpClientBase, kBackend } from '@opra/client';
3
2
  import { IncomingMessage, Server, ServerResponse } from 'http';
4
3
  import { ApiExpect } from './api-expect/api-expect.js';