Skip to content

aborovsky/mikro-orm-json-parse-repro

 
 

Repository files navigation

How to reproduce

  • docker compose up -d
  • npm i
  • npm run test
  • check failed test:
  ● test json field parse

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

    - Expected  - 8
    + Received  + 2

      Array [
        Object {
          "id": 1,
    -     "jsonArray": Array [
    -       "foo",
    -       "bar",
    -     ],
    -     "jsonObj": Object {
    -       "bar": "abc",
    -       "foo": 2,
    -     },
    +     "jsonArray": "[\"foo\",\"bar\"]",
    +     "jsonObj": "{\"foo\":2,\"bar\":\"abc\"}",
        },
      ]

About

mikro-orm-json-parse-repro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.2%
  • JavaScript 4.8%