json-joy icon indicating copy to clipboard operation
json-joy copied to clipboard

Failing fuzzer test

Open streamich opened this issue 2 months ago • 0 comments

FAIL packages/json-type/src/codegen/binary/json/__tests__/automated.spec.ts (11.808 s)
  ● can encode and decode Configuration

    expect(received).toEqual(expected) // deep equality

    - Expected  - 1
    + Received  + 1

    @@ -1,10 +1,10 @@
      Object {
        "database": Object {
          "host": ")rгßN",
          "name": "b}",
    -     "port": 4.000000000000001,
    +     "port": 4,
        },
        "environment": "development",
        "features": Object {},
        "logging": Object {
          "level": "info",

      22 |         // const decoded = parse(text);
      23 |         const decoded = decoder.decode(encoded);
    > 24 |         expect(decoded).toEqual(json);
         |                         ^
      25 |       } catch (error) {
      26 |         console.log(JSON.stringify(json, null, 2));
      27 |         console.log(type + '');

      at Object.<anonymous> (src/codegen/binary/json/__tests__/automated.spec.ts:24:25)


Test Suites: 1 failed, 2 skipped, 503 passed, 504 of 506 total
Tests:       1 failed, 11 skipped, 308 todo, 15301 passed, 15621 total
Snapshots:   689 passed, 689 total
Time:        138.847 s
Ran all test suites in 10 projects.

streamich avatar Oct 18 '25 00:10 streamich