We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32e61fc commit 05118f5Copy full SHA for 05118f5
transforms/convert-module-for-to-setup-test/index.js
@@ -77,6 +77,9 @@ module.exports = function(file, api) {
77
subject = j.literal(`model:${calleeArguments[0].value}`);
78
}
79
80
+ this.comments = p.node.comments;
81
+ this.trailingComments = p.node.trailingComments;
82
+
83
this.originalSetupType = calleeName;
84
this.moduleName = moduleName;
85
this.moduleOptions = options;
@@ -451,6 +454,8 @@ module.exports = function(file, api) {
451
454
452
455
453
456
457
+ moduleInvocation.comments = moduleInfo.comments;
458
+ moduleInvocation.trailingComments = moduleInfo.trailingComments;
459
moduleInfo.moduleInvocation = moduleInvocation;
460
461
if (needsHooks === true) {
0 commit comments