diff options
| author | 2023-07-14 19:37:22 -0700 | |
|---|---|---|
| committer | 2023-07-14 19:37:22 -0700 | |
| commit | c39c11e1011b682c2c4e48594c7d6110cfc3343c (patch) | |
| tree | 8808ca4cd6684949423f28f3cd4d90aedb605cb7 /src/bun.js/test/expect.zig | |
| parent | 25512104265aa568ca98e5bd89a977203ee261a6 (diff) | |
| download | bun-c39c11e1011b682c2c4e48594c7d6110cfc3343c.tar.gz bun-c39c11e1011b682c2c4e48594c7d6110cfc3343c.tar.zst bun-c39c11e1011b682c2c4e48594c7d6110cfc3343c.zip | |
structured clone (#3637)
* copy `SerializedScriptValue`
* format
* make `SerializedScriptValue` compile
* add `transfer` option
* tests
* serialize/deserialize blobs
* tests for blobs
* serialize/deserialize file blobs
* more tests
* small cleanup
* format
* small changes + serialize offset
* slice helper
* map and set test
Diffstat (limited to 'src/bun.js/test/expect.zig')
| -rw-r--r-- | src/bun.js/test/expect.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bun.js/test/expect.zig b/src/bun.js/test/expect.zig index e0833f8ed..12f7011fb 100644 --- a/src/bun.js/test/expect.zig +++ b/src/bun.js/test/expect.zig @@ -312,9 +312,6 @@ pub const Expect = struct { const not = this.flags.not; var pass = right.isSameValue(left, globalObject); - if (comptime Environment.allow_assert) { - std.debug.assert(pass == JSC.C.JSValueIsStrictEqual(globalObject, right.asObjectRef(), left.asObjectRef())); - } if (not) pass = !pass; if (pass) return thisValue; |
