Skip to content

gulp runtests --test ge fails #10683

Closed
Closed
@ghost

Description

This also happens with runtests-browser, so I was able to get a sample error:

The first failing test is tests/cases/fourslash/shims/getEmitOutput.ts.
Error: The baseline file getEmitOutput.baseline has changed.

expected:

EmitSkipped: false
FileName : tests/cases/fourslash/shims/inputFile1.js
var x = 5;
var Bar = (function () {
    function Bar() {
    }
    return Bar;
}());
FileName : tests/cases/fourslash/shims/inputFile1.d.ts
declare var x: number;
declare class Bar {
    x: string;
    y: number;
}

EmitSkipped: false
FileName : tests/cases/fourslash/shims/inputFile2.js
var x1 = "hello world";
var Foo = (function () {
    function Foo() {
    }
    return Foo;
}());
FileName : tests/cases/fourslash/shims/inputFile2.d.ts
declare var x1: string;
declare class Foo {
    x: string;
    y: number;
}

Actual:

EmitSkipped: false
FileName : tests/cases/fourslash/inputFile1.js
var x = 5;
var Bar = (function () {
    function Bar() {
    }
    return Bar;
}());
FileName : tests/cases/fourslash/inputFile1.d.ts
declare var x: number;
declare class Bar {
    x: string;
    y: number;
}

EmitSkipped: false
FileName : tests/cases/fourslash/inputFile2.js
var x1 = "hello world";
var Foo = (function () {
    function Foo() {
    }
    return Foo;
}());
FileName : tests/cases/fourslash/inputFile2.d.ts
declare var x1: string;
declare class Foo {
    x: string;
    y: number;
}

Apparently the "shims" directory is disappearing from the output when we run the tests in this order.

Metadata

Metadata

Assignees

Labels

InfrastructureIssue relates to TypeScript team infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions