feat: integrate user usage into apis (#5075)

This commit is contained in:
DarkSky committed 2023-12-14 09:50:37 +00:00
1 parent 63de73a815
commit ad23ead5e4
36 files changed
+984 -282

No files matched your search

+8
View File
@@ -45,6 +45,13 @@ class FakePrisma {
},
};
}
get newFeaturesWaitingList() {
return {
async findUnique() {
return null;
},
};
}
}
test.beforeEach(async t => {
@@ -119,6 +126,7 @@ test('should find default user', async t => {
})
.expect(200)
.expect(res => {
console.log(res.body);
t.is(res.body.data.user.email, 'alex.yang@example.org');
});
});