summaryrefslogtreecommitdiff
path: root/tools/ts_library_builder/test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ts_library_builder/test.ts')
-rw-r--r--tools/ts_library_builder/test.ts13
1 files changed, 6 insertions, 7 deletions
diff --git a/tools/ts_library_builder/test.ts b/tools/ts_library_builder/test.ts
index 2b6abe714..d5f9de646 100644
--- a/tools/ts_library_builder/test.ts
+++ b/tools/ts_library_builder/test.ts
@@ -173,25 +173,24 @@ function buildLibraryMerge(): void {
assert.equal(targetSourceFile.getInterfaces().length, 2);
const variableDeclarations = targetSourceFile.getVariableDeclarations();
assert.equal(variableDeclarations[0].getType().getText(), `FooBar`);
- assert.equal(variableDeclarations[1].getType().getText(), `FooBar`);
- assert.equal(variableDeclarations[2].getType().getText(), `moduleC.Bar`);
+ assert.equal(variableDeclarations[1].getType().getText(), `moduleC.Bar`);
assert.equal(
- variableDeclarations[3].getType().getText(),
+ variableDeclarations[2].getType().getText(),
`typeof moduleC.qat`
);
assert.equal(
- variableDeclarations[4].getType().getText(),
+ variableDeclarations[3].getType().getText(),
`typeof moduleE.process`
);
assert.equal(
- variableDeclarations[5].getType().getText(),
+ variableDeclarations[4].getType().getText(),
`typeof moduleD.reprocess`
);
assert.equal(
- variableDeclarations[6].getType().getText(),
+ variableDeclarations[5].getType().getText(),
`typeof moduleC.Bar`
);
- assert.equal(variableDeclarations.length, 7);
+ assert.equal(variableDeclarations.length, 6);
const typeAliases = targetSourceFile.getTypeAliases();
assert.equal(typeAliases[0].getName(), "Bar");
assert.equal(typeAliases[0].getType().getText(), "moduleC.Bar");