summaryrefslogtreecommitdiff
path: root/app_expo/models/character/character.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'app_expo/models/character/character.test.ts')
-rw-r--r--app_expo/models/character/character.test.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/app_expo/models/character/character.test.ts b/app_expo/models/character/character.test.ts
new file mode 100644
index 0000000..d7bfac7
--- /dev/null
+++ b/app_expo/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()
+})