|
@@ -38,10 +38,7 @@ test("basic functionality", () => {
|
|
expect(slice).toEqual(["hello", "friends", "serenity", 1]);
|
|
expect(slice).toEqual(["hello", "friends", "serenity", 1]);
|
|
});
|
|
});
|
|
|
|
|
|
-// FIXME: These tests are currently skipped because an invalid array length in this case is 2**32 or above.
|
|
|
|
-// The codebase currently uses size_t for lengths, which is currently the same as u32 when building for Serenity.
|
|
|
|
-// This means these lengths wrap around to 0, making the test not work correctly.
|
|
|
|
-test.skip("Invalid lengths", () => {
|
|
|
|
|
|
+test("Invalid lengths", () => {
|
|
var length = Math.pow(2, 32);
|
|
var length = Math.pow(2, 32);
|
|
|
|
|
|
var obj = {
|
|
var obj = {
|