@tsed/cli-plugin-jest
Advanced tools
Comparing version 1.16.8 to 1.16.9
@@ -9,3 +9,3 @@ "use strict"; | ||
const { symbolPath } = ctx; | ||
const { specTemplate, integrationTemplate } = this.mapOptions(ctx); | ||
const { specTemplate, integrationTemplate, relativeSrcPath } = this.mapOptions(ctx); | ||
return [ | ||
@@ -17,3 +17,3 @@ { | ||
}, | ||
task: () => this.srcRenderService.render(specTemplate, ctx, { | ||
task: () => this.srcRenderService.render(specTemplate, Object.assign(Object.assign({}, ctx), { relativeSrcPath }), { | ||
output: `${symbolPath}.spec.ts`, | ||
@@ -28,3 +28,3 @@ templateDir: templateDir_1.TEMPLATE_DIR | ||
}, | ||
task: () => this.srcRenderService.render(integrationTemplate, ctx, { | ||
task: () => this.srcRenderService.render(integrationTemplate, Object.assign(Object.assign({}, ctx), { relativeSrcPath }), { | ||
output: `${symbolPath}.integration.spec.ts`, | ||
@@ -31,0 +31,0 @@ templateDir: templateDir_1.TEMPLATE_DIR |
{ | ||
"name": "@tsed/cli-plugin-jest", | ||
"version": "1.16.8", | ||
"version": "1.16.9", | ||
"main": "lib/index.js", | ||
@@ -8,4 +8,4 @@ "typings": "lib/index.d.ts", | ||
"devDependencies": { | ||
"@tsed/cli": "1.16.8", | ||
"@tsed/cli-core": "1.16.8" | ||
"@tsed/cli": "1.16.9", | ||
"@tsed/cli-core": "1.16.9" | ||
}, | ||
@@ -12,0 +12,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
22867