diff --git a/types/parse/parse-tests.ts b/types/parse/parse-tests.ts index 8b3962c627..1a2d5dcdee 100644 --- a/types/parse/parse-tests.ts +++ b/types/parse/parse-tests.ts @@ -37,6 +37,14 @@ function test_object() { const game = new Game(); + if (!game.isNew()) { + console.error("Game should be new"); + } + + if (game.toPointer().className !== "Game") { + console.log("Class name should be 'Game") + } + game.fetch({ success(g: Game) { } });