Migrate remaining test assertions to jest-expect

This commit is contained in:
Deven Bansod
2018-04-13 19:14:03 +05:30
parent a084339a15
commit c62b202e6a
30 changed files with 42 additions and 42 deletions

View File

@@ -21,4 +21,4 @@ class Outer extends Hello {
}
}
assert.equal(new Outer().hello(), 'hello');
expect(new Outer().hello()).toBe('hello');

View File

@@ -21,4 +21,4 @@ class Outer extends Hello {
}
}
assert.equal(new Outer().hello(), 'hello');
expect(new Outer().hello()).toBe('hello');

View File

@@ -44,4 +44,4 @@ function (_Hello) {
return Outer;
}(Hello);
assert.equal(new Outer().hello(), 'hello');
expect(new Outer().hello()).toBe('hello');

View File

@@ -18,4 +18,4 @@ class Outer extends Hello {
}
}
assert.equal(new Outer().hello(), 'hello');
expect(new Outer().hello()).toBe('hello');

View File

@@ -18,4 +18,4 @@ class Outer extends Hello {
}
}
assert.equal(new Outer().hello(), 'hello');
expect(new Outer().hello()).toBe('hello');

View File

@@ -51,4 +51,4 @@ function (_Hello) {
return Outer;
}(Hello);
assert.equal(new Outer().hello(), 'hello');
expect(new Outer().hello()).toBe('hello');

View File

@@ -21,4 +21,4 @@ class Outer extends Hello {
}
}
assert.equal(new Outer().hello(), 'hello');
expect(new Outer().hello()).toBe('hello');

View File

@@ -21,4 +21,4 @@ class Outer extends Hello {
}
}
assert.equal(new Outer().hello(), 'hello');
expect(new Outer().hello()).toBe('hello');

View File

@@ -31,4 +31,4 @@ function (_Hello) {
return Outer;
}(Hello);
assert.equal(new Outer().hello(), 'hello');
expect(new Outer().hello()).toBe('hello');

View File

@@ -18,4 +18,4 @@ class Outer extends Hello {
}
}
assert.equal(new Outer().hello(), 'hello');
expect(new Outer().hello()).toBe('hello');

View File

@@ -18,4 +18,4 @@ class Outer extends Hello {
}
}
assert.equal(new Outer().hello(), 'hello');
expect(new Outer().hello()).toBe('hello');

View File

@@ -38,4 +38,4 @@ function (_Hello) {
return Outer;
}(Hello);
assert.equal(new Outer().hello(), 'hello');
expect(new Outer().hello()).toBe('hello');