Skip to content

Commit 95ddfc7

Browse files
committed
Do not use Object.assing in test
1 parent da3333e commit 95ddfc7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/cases/unittests/transpile.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
/// <reference path="..\..\..\src\harness\harness.ts" />
22

3-
interface ObjectConstructor {
4-
assign<T, U>(target: T, source: U): T & U;
5-
}
6-
73
namespace ts {
84
describe("Transpile", () => {
95

@@ -102,7 +98,7 @@ namespace ts {
10298
test(input, {
10399
expectedOutput: output,
104100
options: {
105-
compilerOptions: Object.assign({ module: ModuleKind.CommonJS, newLine: NewLineKind.CarriageReturnLineFeed }, options),
101+
compilerOptions: extend(options, { module: ModuleKind.CommonJS, newLine: NewLineKind.CarriageReturnLineFeed }),
106102
fileName: "input.js",
107103
reportDiagnostics: true
108104
}

0 commit comments

Comments
 (0)