29 lines
643 B
JavaScript
29 lines
643 B
JavaScript
/*eslint node/no-extraneous-require: "off"*/
|
|
'use strict';
|
|
|
|
const useTestFrameworkDetector = require('@ember-data/-build-infra/src/utilities/test-framework-detector');
|
|
const path = require('path');
|
|
|
|
module.exports = useTestFrameworkDetector({
|
|
description: 'Generates a Consul HTTP ember-data serializer unit and integration tests',
|
|
|
|
root: __dirname,
|
|
|
|
fileMapTokens(options) {
|
|
return {
|
|
__root__() {
|
|
return 'tests';
|
|
},
|
|
__path__() {
|
|
return '';
|
|
}
|
|
};
|
|
},
|
|
|
|
locals(options) {
|
|
return {
|
|
screamingSnakeCaseModuleName: options.entity.name.replace('-', '_').toUpperCase()
|
|
};
|
|
},
|
|
});
|