Migrate -computed-properties and -jscript tests to use jest expect assertions
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user