Skip to content

Commit

Permalink
Fixed templateFile path
Browse files Browse the repository at this point in the history
  • Loading branch information
thedrivendev committed Jul 1, 2020
1 parent 96fe9ac commit 05ac59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/create-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const ensureDir = BbPromise.promisify(fse.ensureDir);
const defaultTestPath = '__tests__';

const writeTestfile = (serverless, options, testConfig) => {
let templateFile = path.join(__dirname, 'test-template.ejs');
let templateFile = path.join(__dirname, 'templates','test-template.ejs');

if (serverless.service.custom &&
serverless.service.custom['serverless-jest-plugin'] &&
Expand Down

0 comments on commit 05ac59b

Please sign in to comment.