@opra/testing 1.13.0 → 1.14.0

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,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ApiExpectBase = void 0;
4
- require("../jest-extend/index.js");
4
+ require("../expect-extend/index.js");
5
5
  const expect_1 = require("expect");
6
6
  class ApiExpectBase {
7
7
  constructor(response, isNot) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ApiExpectError = void 0;
4
- require("../jest-extend/index.js");
4
+ require("../expect-extend/index.js");
5
5
  const objects_1 = require("@jsopen/objects");
6
6
  const expect_1 = require("expect");
7
7
  const api_expect_base_js_1 = require("./api-expect-base.js");
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ApiExpectOperationResult = void 0;
4
- require("../jest-extend/index.js");
4
+ require("../expect-extend/index.js");
5
5
  const api_expect_base_js_1 = require("./api-expect-base.js");
6
6
  class ApiExpectOperationResult extends api_expect_base_js_1.ApiExpectBase {
7
7
  get not() {
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ApiExpect = void 0;
4
4
  const tslib_1 = require("tslib");
5
- require("../jest-extend/index.js");
5
+ require("../expect-extend/index.js");
6
6
  const common_1 = require("@opra/common");
7
7
  const ansi_colors_1 = tslib_1.__importDefault(require("ansi-colors"));
8
8
  const expect_1 = require("expect");
package/cjs/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- require("./jest-extend/index.js");
4
+ require("./expect-extend/index.js");
5
5
  tslib_1.__exportStar(require("./test-client.js"), exports);
@@ -1,4 +1,4 @@
1
- import '../jest-extend/index.js';
1
+ import '../expect-extend/index.js';
2
2
  import { expect } from 'expect';
3
3
  export class ApiExpectBase {
4
4
  constructor(response, isNot) {
@@ -1,4 +1,4 @@
1
- import '../jest-extend/index.js';
1
+ import '../expect-extend/index.js';
2
2
  import { omitNullish } from '@jsopen/objects';
3
3
  import { expect } from 'expect';
4
4
  import { ApiExpectBase } from './api-expect-base.js';
@@ -1,4 +1,4 @@
1
- import '../jest-extend/index.js';
1
+ import '../expect-extend/index.js';
2
2
  import { ApiExpectBase } from './api-expect-base.js';
3
3
  export class ApiExpectOperationResult extends ApiExpectBase {
4
4
  get not() {
@@ -1,4 +1,4 @@
1
- import '../jest-extend/index.js';
1
+ import '../expect-extend/index.js';
2
2
  import { MimeTypes } from '@opra/common';
3
3
  import colors from 'ansi-colors';
4
4
  import { expect } from 'expect';
package/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import './jest-extend/index.js';
1
+ import './expect-extend/index.js';
2
2
  export * from './test-client.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/testing",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "description": "Opra testing package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -12,8 +12,8 @@
12
12
  "tslib": "^2.8.1"
13
13
  },
14
14
  "peerDependencies": {
15
- "@opra/client": "^1.13.0",
16
- "@opra/common": "^1.13.0",
15
+ "@opra/client": "^1.14.0",
16
+ "@opra/common": "^1.14.0",
17
17
  "expect": "^29.0.0 || ^30.0.0",
18
18
  "jest-matcher-utils": "^29.0.0 || ^30.0.0"
19
19
  },
@@ -1,4 +1,4 @@
1
- import '../jest-extend/index.js';
1
+ import '../expect-extend/index.js';
2
2
  import { HttpResponse } from '@opra/client';
3
3
  export declare class ApiExpectBase {
4
4
  readonly response: HttpResponse;
@@ -1,4 +1,4 @@
1
- import '../jest-extend/index.js';
1
+ import '../expect-extend/index.js';
2
2
  import { type ErrorIssue } from '@opra/common';
3
3
  import { ApiExpectBase } from './api-expect-base.js';
4
4
  export interface MatchingErrorIssue {
@@ -1,4 +1,4 @@
1
- import '../jest-extend/index.js';
1
+ import '../expect-extend/index.js';
2
2
  import { ApiExpectBase } from './api-expect-base.js';
3
3
  export declare class ApiExpectOperationResult extends ApiExpectBase {
4
4
  get not(): ApiExpectOperationResult;
@@ -1,4 +1,4 @@
1
- import '../jest-extend/index.js';
1
+ import '../expect-extend/index.js';
2
2
  import { ApiExpectBase } from './api-expect-base.js';
3
3
  import { ApiExpectCollection } from './api-expect-collection.js';
4
4
  import { ApiExpectError } from './api-expect-error.js';
package/types/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import './jest-extend/index.js';
1
+ import './expect-extend/index.js';
2
2
  export * from './test-client.js';
package/types/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import './jest-extend/index.js';
1
+ import './expect-extend/index.js';
2
2
  export * from './test-client.js';
File without changes
File without changes
File without changes