Skip to content

Commit

Permalink
Fix recently added test so it is cross-plat
Browse files Browse the repository at this point in the history
  • Loading branch information
weswigham committed Jun 15, 2020
1 parent c88ed72 commit 2fff325
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/testRunner/unittests/transform.ts
Expand Up @@ -135,7 +135,8 @@ namespace ts {
before: [createTaggedTemplateLiteral],
},
compilerOptions: {
target: ScriptTarget.ES5
target: ScriptTarget.ES5,
newLine: NewLineKind.CarriageReturnLineFeed
}
}).outputText;
});
Expand Down
@@ -1,5 +1,5 @@
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
$tpl(__makeTemplateObject(["foo"], ["foo"]));
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
$tpl(__makeTemplateObject(["foo"], ["foo"]));

0 comments on commit 2fff325

Please sign in to comment.