diff options
Diffstat (limited to 'util/tests/validate.test.js')
-rw-r--r-- | util/tests/validate.test.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/util/tests/validate.test.js b/util/tests/validate.test.js index 629c864f..d36da1ed 100644 --- a/util/tests/validate.test.js +++ b/util/tests/validate.test.js @@ -3,8 +3,7 @@ const { User } = require("../dist/entities/User"); beforeAll(async () => { await initDatabase(); - - new User().validate(); // initalize schema validator + new User().validate(); }); describe("Validate model class properties", () => { @@ -24,4 +23,8 @@ describe("Validate model class properties", () => { const user = new User({ opts: { id: 0 } }); expect(user.opts.id).not.toBe(0); }); + + test("test", () => { + expect(1).toBe(1); + }); }); |