@feathersjs/adapter-tests
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -6,2 +6,8 @@ # Change Log | ||
## [5.0.4](https://github.com/feathersjs/feathers/compare/v5.0.3...v5.0.4) (2023-04-12) | ||
### Bug Fixes | ||
- **adapter-commons:** Support non-default import to ease use with ESM projects ([d06f2cf](https://github.com/feathersjs/feathers/commit/d06f2cfcadda7dc23f0e2bec44f64e6be8500d02)) | ||
## [5.0.3](https://github.com/feathersjs/feathers/compare/v5.0.2...v5.0.3) (2023-04-05) | ||
@@ -8,0 +14,0 @@ |
import { AdapterTestName } from './declarations'; | ||
declare const adapterTests: (testNames: AdapterTestName[]) => (app: any, errors: any, serviceName: any, idProp?: string) => void; | ||
export declare const adapterTests: (testNames: AdapterTestName[]) => (app: any, errors: any, serviceName: any, idProp?: string) => void; | ||
export * from './declarations'; | ||
export default adapterTests; |
@@ -20,2 +20,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.adapterTests = void 0; | ||
/* eslint-disable no-console */ | ||
@@ -59,7 +60,8 @@ const basic_1 = __importDefault(require("./basic")); | ||
}; | ||
exports.adapterTests = adapterTests; | ||
__exportStar(require("./declarations"), exports); | ||
exports.default = adapterTests; | ||
exports.default = exports.adapterTests; | ||
if (typeof module !== 'undefined') { | ||
module.exports = Object.assign(adapterTests, module.exports); | ||
module.exports = Object.assign(exports.adapterTests, module.exports); | ||
} | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@feathersjs/adapter-tests", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"description": "Feathers shared database adapter test suite", | ||
@@ -60,3 +60,3 @@ "homepage": "https://feathersjs.com", | ||
}, | ||
"gitHead": "a6ba4dfd08f537a7d4778bed4c45091cbe3802aa" | ||
"gitHead": "376e89040991db500f1f327aa699322543315039" | ||
} |
@@ -7,3 +7,3 @@ /* eslint-disable no-console */ | ||
const adapterTests = (testNames: AdapterTestName[]) => { | ||
export const adapterTests = (testNames: AdapterTestName[]) => { | ||
return (app: any, errors: any, serviceName: any, idProp = 'id') => { | ||
@@ -34,3 +34,5 @@ if (!serviceName) { | ||
if (!allTests.includes(name)) { | ||
console.error(`WARNING: '${name}' test is not part of the test suite`) | ||
console.error( | ||
`WARNING: '${name}' test is not part of the test suite` | ||
) | ||
} | ||
@@ -37,0 +39,0 @@ }) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
147695
2199