We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b8f51e commit 11e830aCopy full SHA for 11e830a
src/setup.ts
@@ -4,7 +4,7 @@ import {start} from '@shelf/elasticsearch-local';
4
const cwd = require('cwd');
5
6
module.exports = function startES() {
7
- const path = process.env.JEST_ELASTICSEARCH_CONFIG || resolve(cwd(), 'jest-es-config.js');
+ const path = process.env.JEST_ELASTICSEARCH_CONFIG || resolve(cwd(), 'jest-es-config');
8
const config = require(path)();
9
10
return start(config);
0 commit comments