Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 4502ef2

Browse files
committed
Tests: use new arguments for parse()
1 parent ae826dd commit 4502ef2

File tree

2 files changed

+46
-46
lines changed

2 files changed

+46
-46
lines changed

spec/as3/as3-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ describe("The default return value", () =>
8585
let standardLibPath = require.resolve("typescript");
8686
standardLibPath = path.dirname(standardLibPath);
8787
standardLibPath = path.resolve(standardLibPath, "lib.core.d.ts");
88-
symbols = parser.parse(standardLibPath).definitions;
88+
symbols = parser.parse([standardLibPath]).definitions;
8989
});
9090
describe("for Number", () =>
9191
{
@@ -134,7 +134,7 @@ describe("The common base class", () =>
134134
let standardLibPath = require.resolve("typescript");
135135
standardLibPath = path.dirname(standardLibPath);
136136
standardLibPath = path.resolve(standardLibPath, "lib.core.d.ts");
137-
symbols = parser.parse(standardLibPath).definitions;
137+
symbols = parser.parse([standardLibPath]).definitions;
138138
});
139139
describe("for a class and itself", () =>
140140
{

0 commit comments

Comments
 (0)