@feathersjs/adapter-tests 5.0.39 → 6.0.0-pre.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,62 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 6.0.0-pre.0 (2026-01-31)
7
+
8
+ ### Bug Fixes
9
+
10
+ - @feathersjs/memory update with query ([#3617](https://github.com/feathersjs/feathers/issues/3617)) ([4c6caa2](https://github.com/feathersjs/feathers/commit/4c6caa27e9af1312718d0c233a0c35f7739ac553))
11
+ - **adapter-commons:** Clarify adapter query filtering ([#2607](https://github.com/feathersjs/feathers/issues/2607)) ([2dac771](https://github.com/feathersjs/feathers/commit/2dac771b0a3298d6dd25994d05186701b0617718))
12
+ - **adapter-commons:** Support non-default import to ease use with ESM projects ([d06f2cf](https://github.com/feathersjs/feathers/commit/d06f2cfcadda7dc23f0e2bec44f64e6be8500d02))
13
+ - **adapter-tests:** Add test that verified paginated total ([#2273](https://github.com/feathersjs/feathers/issues/2273)) ([879bd6b](https://github.com/feathersjs/feathers/commit/879bd6b24f42e04eeeeba110ddddda3e1e1dea34))
14
+ - **adapter-tests:** Add tests for pagination in multi updates ([#2472](https://github.com/feathersjs/feathers/issues/2472)) ([98a811a](https://github.com/feathersjs/feathers/commit/98a811ac605575ff812a08d0504729a5efe7a69c))
15
+ - **adapter-tests:** Ensure multi tests can run standalone ([#2608](https://github.com/feathersjs/feathers/issues/2608)) ([d7243f2](https://github.com/feathersjs/feathers/commit/d7243f20e84d9dde428ad8dfc7f48388ca569e6e))
16
+ - Add test to make sure different id in adapter query works ([#1165](https://github.com/feathersjs/feathers/issues/1165)) ([0ba4580](https://github.com/feathersjs/feathers/commit/0ba4580d9c22c78a6291717d4567c4338a9d10ac))
17
+ - **cli:** Improve generated application and client ([#2701](https://github.com/feathersjs/feathers/issues/2701)) ([bd55ffb](https://github.com/feathersjs/feathers/commit/bd55ffb812e89bf215f4515e7f137656ea888c3f))
18
+ - **core:** Update to latest feathersjs/hooks ([#3434](https://github.com/feathersjs/feathers/issues/3434)) ([1499ccc](https://github.com/feathersjs/feathers/commit/1499ccc41fb3ebba97b2c84e0cb19bc48ad3c651))
19
+ - **databases:** Improve documentation for adapters and allow dynamic Knex adapter options ([#3019](https://github.com/feathersjs/feathers/issues/3019)) ([66c4b5e](https://github.com/feathersjs/feathers/commit/66c4b5e72000dd03acb57fca1cad4737c85c9c9e))
20
+ - **dependencies:** Update all dependencies ([#3139](https://github.com/feathersjs/feathers/issues/3139)) ([f24276e](https://github.com/feathersjs/feathers/commit/f24276e9a909e2e58a0730c730258ce1f70f4028))
21
+ - **dependencies:** Update all dependencies ([#3545](https://github.com/feathersjs/feathers/issues/3545)) ([221b92b](https://github.com/feathersjs/feathers/commit/221b92bb0ee5d54fb1036742968797cb02e56da2))
22
+ - **dependencies:** Update all dependencies ([#3625](https://github.com/feathersjs/feathers/issues/3625)) ([2698e4e](https://github.com/feathersjs/feathers/commit/2698e4e2996fbf479d82435938d907bc3d5b583a))
23
+ - **dependencies:** Update dependencies ([#3571](https://github.com/feathersjs/feathers/issues/3571)) ([ad611cb](https://github.com/feathersjs/feathers/commit/ad611cb6ffb1dc31d603ba5817331318c5a23217))
24
+ - Fix feathers-memory dependency that did not get updated ([9422b13](https://github.com/feathersjs/feathers/commit/9422b130d7b1af8c01fbe84d5edd59e24bbb4d4e))
25
+ - **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a))
26
+ - **memory/mongodb:** $select as only property & force 'id' in '$select' ([#3081](https://github.com/feathersjs/feathers/issues/3081)) ([fbe3cf5](https://github.com/feathersjs/feathers/commit/fbe3cf5199e102b5aeda2ae33828d5034df3d105))
27
+ - **typebox:** Revert to TypeBox 0.25 ([#3183](https://github.com/feathersjs/feathers/issues/3183)) ([cacedf5](https://github.com/feathersjs/feathers/commit/cacedf59e3d2df836777f0cd06ab1b2484ed87c5))
28
+ - **typescript:** Improve TypeScript backwards compatibility ([#2310](https://github.com/feathersjs/feathers/issues/2310)) ([f33be73](https://github.com/feathersjs/feathers/commit/f33be73fc46a533efb15df9aab0658e3240d3897))
29
+ - **typescript:** Overall typing improvements ([#2478](https://github.com/feathersjs/feathers/issues/2478)) ([b8eb804](https://github.com/feathersjs/feathers/commit/b8eb804158556d9651a8607e3c3fda15e0bfd110))
30
+ - Update adapter tests to not rely on error instance ([#1202](https://github.com/feathersjs/feathers/issues/1202)) ([6885e0e](https://github.com/feathersjs/feathers/commit/6885e0eb2609397508dc46a3f1dc212c51ea0b70))
31
+ - Update all dependencies ([#3613](https://github.com/feathersjs/feathers/issues/3613)) ([5136bbd](https://github.com/feathersjs/feathers/commit/5136bbd2e2eeb4e6579e07c9e914006629542363))
32
+ - Update all dependencies to latest ([#1206](https://github.com/feathersjs/feathers/issues/1206)) ([e51e0f6](https://github.com/feathersjs/feathers/commit/e51e0f62d0f338fb59bd0d39952d99c2904a0c3f))
33
+ - Update database adapter common repository urls ([#2380](https://github.com/feathersjs/feathers/issues/2380)) ([3f4db68](https://github.com/feathersjs/feathers/commit/3f4db68d6700c7d9023ecd17d0d39893f75a19fd))
34
+ - Update dependencies ([#3584](https://github.com/feathersjs/feathers/issues/3584)) ([119fa4e](https://github.com/feathersjs/feathers/commit/119fa4e1ade8b0078aa235083d566e2538b3a084))
35
+ - Update dependencies and fix tests ([#1373](https://github.com/feathersjs/feathers/issues/1373)) ([d743a7f](https://github.com/feathersjs/feathers/commit/d743a7ff7b0f9f94aa6fa8e29d0c816469c9b8ab))
36
+
37
+ ### chore
38
+
39
+ - **package:** Move adapter tests into their own module ([#1164](https://github.com/feathersjs/feathers/issues/1164)) ([dcc1e6b](https://github.com/feathersjs/feathers/commit/dcc1e6b43d0cdc6d8843dc8242837a6c3e11948f))
40
+
41
+ ### Features
42
+
43
+ - **adapter-commons:** Add support for params.adapter option and move memory adapter to @feathersjs/memory ([#2367](https://github.com/feathersjs/feathers/issues/2367)) ([a43e7da](https://github.com/feathersjs/feathers/commit/a43e7da22b6b981a96d1321736ea9a0cb924fb4f))
44
+ - **adapter:** Add patch data type to adapters and refactor AdapterBase usage ([#2906](https://github.com/feathersjs/feathers/issues/2906)) ([9ddc2e6](https://github.com/feathersjs/feathers/commit/9ddc2e6b028f026f939d6af68125847e5c6734b4))
45
+ - Add TypeScript definitions ([#1275](https://github.com/feathersjs/feathers/issues/1275)) ([9dd6713](https://github.com/feathersjs/feathers/commit/9dd671301ae0463968ade0f6eb0c82356adcc89d))
46
+ - Authentication v3 core server implementation ([#1205](https://github.com/feathersjs/feathers/issues/1205)) ([1bd7591](https://github.com/feathersjs/feathers/commit/1bd7591548da58c1c0facb2a733ce32524743ff3))
47
+ - **core:** Allow to unregister services at runtime ([#2756](https://github.com/feathersjs/feathers/issues/2756)) ([d16601f](https://github.com/feathersjs/feathers/commit/d16601f2277dca5357866ffdefba2a611f6dc7fa))
48
+ - **core:** Remove Uberproto ([#2178](https://github.com/feathersjs/feathers/issues/2178)) ([ddf8821](https://github.com/feathersjs/feathers/commit/ddf8821f53317e6a378657f7d66acb03a037ee47))
49
+ - **database:** Add and to the query syntax ([#3021](https://github.com/feathersjs/feathers/issues/3021)) ([00cb0d9](https://github.com/feathersjs/feathers/commit/00cb0d9c302ae951ae007d3d6ceba33e254edd9c))
50
+ - ES module v5 compatibility layer for v6 ([#3607](https://github.com/feathersjs/feathers/issues/3607)) ([1dfff88](https://github.com/feathersjs/feathers/commit/1dfff8832eedca895eeaafd7f3acf0f8a27be23c))
51
+ - **generators:** Move core code generators to shared generators package ([#2982](https://github.com/feathersjs/feathers/issues/2982)) ([0328d22](https://github.com/feathersjs/feathers/commit/0328d2292153870bc43958f73d2c6f288a8cec17))
52
+ - **memory:** Move feathers-memory into @feathersjs/adapter-memory ([#2153](https://github.com/feathersjs/feathers/issues/2153)) ([dd61fe3](https://github.com/feathersjs/feathers/commit/dd61fe371fb0502f78b8ccbe1f45a030e31ecff6))
53
+
54
+ ### BREAKING CHANGES
55
+
56
+ - All packages are now ES modules only
57
+ - **adapter-commons:** Changes the common adapter base class to use `sanitizeQuery` and `sanitizeData`
58
+ - **core:** Services no longer extend Uberproto objects and
59
+ `service.mixin()` is no longer available.
60
+ - **package:** Removes adapter tests from @feathersjs/adapter-commons
61
+
6
62
  ## [5.0.39](https://github.com/feathersjs/feathers/compare/v5.0.38...v5.0.39) (2026-01-31)
7
63
 
8
64
  **Note:** Version bump only for package @feathersjs/adapter-tests
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2024 Feathers Contributors
3
+ Copyright (c) 2025 Feathers Contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
22
-
package/README.md CHANGED
@@ -16,6 +16,6 @@ This is a repository that contains the test suite for the common database adapte
16
16
 
17
17
  ## License
18
18
 
19
- Copyright (c) 2024 [Feathers contributors](https://github.com/feathersjs/feathers/graphs/contributors)
19
+ Copyright (c) 2025 [Feathers contributors](https://github.com/feathersjs/feathers/graphs/contributors)
20
20
 
21
21
  Licensed under the [MIT license](LICENSE).
package/lib/basic.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { AdapterBasicTest } from './declarations';
1
+ import { AdapterBasicTest } from './declarations.js';
2
2
  declare const _default: (test: AdapterBasicTest, app: any, _errors: any, serviceName: string, idProp: string) => void;
3
3
  export default _default;
package/lib/basic.js CHANGED
@@ -1,42 +1,37 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const assert_1 = __importDefault(require("assert"));
7
- exports.default = (test, app, _errors, serviceName, idProp) => {
1
+ import assert from 'assert';
2
+ export default (test, app, _errors, serviceName, idProp) => {
8
3
  describe('Basic Functionality', () => {
9
4
  let service;
10
5
  beforeEach(() => {
11
6
  service = app.service(serviceName);
12
7
  });
13
8
  it('.id', () => {
14
- assert_1.default.strictEqual(service.id, idProp, 'id property is set to expected name');
9
+ assert.strictEqual(service.id, idProp, 'id property is set to expected name');
15
10
  });
16
11
  test('.options', () => {
17
- assert_1.default.ok(service.options, 'Options are available in service.options');
12
+ assert.ok(service.options, 'Options are available in service.options');
18
13
  });
19
14
  test('.events', () => {
20
- assert_1.default.ok(service.events.includes('testing'), 'service.events is set and includes "testing"');
15
+ assert.ok(service.events.includes('testing'), 'service.events is set and includes "testing"');
21
16
  });
22
17
  describe('Raw Methods', () => {
23
18
  test('._get', () => {
24
- assert_1.default.strictEqual(typeof service._get, 'function');
19
+ assert.strictEqual(typeof service._get, 'function');
25
20
  });
26
21
  test('._find', () => {
27
- assert_1.default.strictEqual(typeof service._find, 'function');
22
+ assert.strictEqual(typeof service._find, 'function');
28
23
  });
29
24
  test('._create', () => {
30
- assert_1.default.strictEqual(typeof service._create, 'function');
25
+ assert.strictEqual(typeof service._create, 'function');
31
26
  });
32
27
  test('._update', () => {
33
- assert_1.default.strictEqual(typeof service._update, 'function');
28
+ assert.strictEqual(typeof service._update, 'function');
34
29
  });
35
30
  test('._patch', () => {
36
- assert_1.default.strictEqual(typeof service._patch, 'function');
31
+ assert.strictEqual(typeof service._patch, 'function');
37
32
  });
38
33
  test('._remove', () => {
39
- assert_1.default.strictEqual(typeof service._remove, 'function');
34
+ assert.strictEqual(typeof service._remove, 'function');
40
35
  });
41
36
  });
42
37
  });
package/lib/basic.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"basic.js","sourceRoot":"","sources":["../src/basic.ts"],"names":[],"mappings":";;;;;AAAA,oDAA2B;AAG3B,kBAAe,CAAC,IAAsB,EAAE,GAAQ,EAAE,OAAY,EAAE,WAAmB,EAAE,MAAc,EAAE,EAAE;IACrG,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;QACnC,IAAI,OAAY,CAAA;QAEhB,UAAU,CAAC,GAAG,EAAE;YACd,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;QACpC,CAAC,CAAC,CAAA;QAEF,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE;YACb,gBAAM,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,qCAAqC,CAAC,CAAA;QAC/E,CAAC,CAAC,CAAA;QAEF,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;YACpB,gBAAM,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,0CAA0C,CAAC,CAAA;QACxE,CAAC,CAAC,CAAA;QAEF,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE;YACnB,gBAAM,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,8CAA8C,CAAC,CAAA;QAC/F,CAAC,CAAC,CAAA;QAEF,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;YAC3B,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE;gBACjB,gBAAM,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,CAAA;YACrD,CAAC,CAAC,CAAA;YAEF,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE;gBAClB,gBAAM,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;YACtD,CAAC,CAA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C,CAAA;AACJ,CAAC,CAAA"}
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=declarations.js.map
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AdapterTestName } from './declarations';
1
+ import { AdapterTestName } from './declarations.js';
2
2
  export declare const adapterTests: (testNames: AdapterTestName[]) => (app: any, errors: any, serviceName: any, idProp?: string) => void;
3
- export * from './declarations';
3
+ export * from './declarations.js';
4
4
  export default adapterTests;
package/lib/index.js CHANGED
@@ -1,28 +1,8 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
- Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.adapterTests = void 0;
21
1
  /* eslint-disable no-console */
22
- const basic_1 = __importDefault(require("./basic"));
23
- const methods_1 = __importDefault(require("./methods"));
24
- const syntax_1 = __importDefault(require("./syntax"));
25
- const adapterTests = (testNames) => {
2
+ import basicTests from './basic.js';
3
+ import methodTests from './methods.js';
4
+ import syntaxTests from './syntax.js';
5
+ export const adapterTests = (testNames) => {
26
6
  return (app, errors, serviceName, idProp = 'id') => {
27
7
  if (!serviceName) {
28
8
  throw new Error('You must pass a service name');
@@ -50,16 +30,15 @@ const adapterTests = (testNames) => {
50
30
  console.log(JSON.stringify(skippedTests, null, ' '));
51
31
  }
52
32
  });
53
- (0, basic_1.default)(test, app, errors, serviceName, idProp);
54
- (0, methods_1.default)(test, app, errors, serviceName, idProp);
55
- (0, syntax_1.default)(test, app, errors, serviceName, idProp);
33
+ basicTests(test, app, errors, serviceName, idProp);
34
+ methodTests(test, app, errors, serviceName, idProp);
35
+ syntaxTests(test, app, errors, serviceName, idProp);
56
36
  });
57
37
  };
58
38
  };
59
- exports.adapterTests = adapterTests;
60
- __exportStar(require("./declarations"), exports);
61
- exports.default = exports.adapterTests;
39
+ export * from './declarations.js';
40
+ export default adapterTests;
62
41
  if (typeof module !== 'undefined') {
63
- module.exports = Object.assign(exports.adapterTests, module.exports);
42
+ module.exports = Object.assign(adapterTests, module.exports);
64
43
  }
65
44
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,+BAA+B;AAC/B,oDAAgC;AAEhC,wDAAmC;AACnC,sDAAkC;AAE3B,MAAM,YAAY,GAAG,CAAC,SAA4B,EAAE,EAAE;IAC3D,OAAO,CAAC,GAAQ,EAAE,MAAW,EAAE,WAAgB,EAAE,MAAM,GAAG,IAAI,EAAE,EAAE;QAChE,IAAI,CAAC,WAAW,EAAE,CAAC;YACjB,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAA;QACjD,CAAC;QAED,MAAM,YAAY,GAAsB,EAAE,CAAA;QAC1C,MAAM,QAAQ,GAAsB,EAAE,CAAA;QAEtC,MAAM,IAAI,GAAG,CAAC,IAAqB,EAAE,MAAW,EAAE,EAAE;YAClD,MAAM,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;YACtC,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE,CA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G,EAAE;gBACT,SAAS,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;oBACzB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;wBAC7B,OAAO,CAAC,KAAK,CAAC,aAAa,IAAI,sCAAsC,CAAC,CAAA;oBACxE,CAAC;gBACH,CAAC,CAAC,CAAA;gBACF,IAAI,YAAY,CAAC,MAAM,EAAE,CAAC;oBACxB,OAAO,CAAC,GAAG,CACT,2BAA2B,YAAY,CAAC,MAAM,oCAAoC,QAAQ,CAAC,MAAM,SAAS,CAC3G,CAAA;oBACD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAA;gBACvD,CAAC;YACH,CAAC,CAAC,CAAA;YAEF,UAAU,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,CAAA;YAClD,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,CAAA;YACnD,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,CAAA;QACrD,CAAC,CAAC,CAAA;IACJ,CAAC,CAAA;AACH,CAAC,CAAA;AAED,cAAc,mBAAmB,CAAA;AAEjC,eAAe,YAAY,CAAA;AAE3B,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;IAClC,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,OAAO,CAAC,CAAA;AAC9D,CAAC"}
package/lib/methods.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { AdapterMethodsTest } from './declarations';
1
+ import { AdapterMethodsTest } from './declarations.js';
2
2
  declare const _default: (test: AdapterMethodsTest, app: any, _errors: any, serviceName: string, idProp: string) => void;
3
3
  export default _default;