Migrate -computed-properties and -jscript tests to use jest expect assertions

This commit is contained in:
Deven Bansod
2018-04-12 19:50:49 +05:30
parent d7987fbbd2
commit a084339a15
4 changed files with 6 additions and 6 deletions

View File

@@ -6,5 +6,5 @@ var foo = {
}
};
assert(foo[Symbol.iterator], "foobar")
assert(foo[k], k)
expect(foo[Symbol.iterator]).toBe("foobar")
expect(foo[k]).toBe(k)

View File

@@ -6,5 +6,5 @@ var foo = {
}
};
assert(foo[Symbol.iterator], "foobar")
assert(foo[k], k)
expect(foo[Symbol.iterator]).toBe("foobar")
expect(foo[k]).toBe(k)