summaryrefslogtreecommitdiff
path: root/app/models/character/character.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/character/character.test.ts')
-rw-r--r--app/models/character/character.test.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/models/character/character.test.ts b/app/models/character/character.test.ts
new file mode 100644
index 0000000..2f330b4
--- /dev/null
+++ b/app/models/character/character.test.ts
@@ -0,0 +1,10 @@
+import { CharacterModel } from "./character"
+
+test("can be created", () => {
+ const instance = CharacterModel.create({
+ id: 1,
+ name: "Rick Sanchez",
+ })
+
+ expect(instance).toBeTruthy()
+})