You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/ui/packages/consul-ui/blueprints/repository-test/index.js

26 lines
588 B

/*eslint node/no-extraneous-require: "off"*/
const useTestFrameworkDetector = require('@ember-data/private-build-infra/src/utilities/test-framework-detector');
module.exports = useTestFrameworkDetector({
description: 'Generates Consul repository unit and integration tests',
root: __dirname,
fileMapTokens(options) {
return {
__root__() {
return 'tests';
},
__path__() {
return '';
},
};
},
locals(options) {
return {
screamingSnakeCaseModuleName: options.entity.name.replace('-', '_').toUpperCase()
};
},
});