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 May 21, 2020
1 parent c00aeb5 commit 59d0cee
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
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ namespace ts {
before: [createTaggedTemplateLiteral],
},
compilerOptions: {
target: ScriptTarget.ES5
target: ScriptTarget.ES5,
newLine: NewLineKind.CarriageReturnLineFeed
}
}).outputText;
});
Expand Down
Original file line number Diff line number Diff line change
@@ -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 59d0cee

Please sign in to comment.