From 9a9988ff3b5223b4160e60ffad70eae4858ba0ed Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Fri, 16 Jul 2021 13:33:45 -0700 Subject: [PATCH] Adds a serializer test suite - project cereal (#5034) * Setup basic architecture for tests * Attribute tests * Easy field tests added * Work on tests * Work on tests * Work on tests * Add mutation tests * Fixup ID tests * Add more mutator tests * Fixup lint and typos * Uncomment tests * Use test helpers * Small PR comments * Use test helpers for setup and teardown * Add TODOs and fixup types * Fix types * Actually fix types --- tests/mocha/index.html | 3 + tests/mocha/serializer_test.js | 1760 ++++++++++++++++++++++++++++++++ 2 files changed, 1763 insertions(+) create mode 100644 tests/mocha/serializer_test.js diff --git a/tests/mocha/index.html b/tests/mocha/index.html index 71b7de6b4..ef3384da9 100644 --- a/tests/mocha/index.html +++ b/tests/mocha/index.html @@ -25,6 +25,8 @@ + +