jest: ToEqual -> toBe
This commit is contained in:
parent
f3f0197890
commit
3a7881379a
@ -259,7 +259,7 @@ describe("api", function() {
|
|||||||
|
|
||||||
expect(aliasBaseType).toBe("NumberTypeAnnotation");
|
expect(aliasBaseType).toBe("NumberTypeAnnotation");
|
||||||
|
|
||||||
expect(result.code).toEqual("var x = function x(y) {\n return y;\n};");
|
expect(result.code).toBe("var x = function x(y) {\n return y;\n};");
|
||||||
|
|
||||||
// 2. passPerPreset: false
|
// 2. passPerPreset: false
|
||||||
|
|
||||||
@ -269,7 +269,7 @@ describe("api", function() {
|
|||||||
|
|
||||||
expect(aliasBaseType).toBeNull();
|
expect(aliasBaseType).toBeNull();
|
||||||
|
|
||||||
expect(result.code).toEqual("var x = function x(y) {\n return y;\n};");
|
expect(result.code).toBe("var x = function x(y) {\n return y;\n};");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("complex plugin and preset ordering", function() {
|
it("complex plugin and preset ordering", function() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user