chore: comment text updated
This commit is contained in:
parent
27b9f57d7a
commit
e40d77420c
2 changed files with 3 additions and 3 deletions
|
|
@ -65,7 +65,7 @@ describe('UserSettingsService', () => {
|
|||
|
||||
expect(result).toEqualLeft(USER_SETTINGS_NULL_SETTINGS);
|
||||
});
|
||||
test('Should publish message over pubsub on successful user settings create', async () => {
|
||||
test('Should publish pubsub message on successful user settings create', async () => {
|
||||
mockPrisma.userSettings.create.mockResolvedValue({
|
||||
...settings,
|
||||
properties: JSON.parse(settings.properties),
|
||||
|
|
@ -108,7 +108,7 @@ describe('UserSettingsService', () => {
|
|||
);
|
||||
expect(result).toEqualLeft(USER_SETTINGS_NULL_SETTINGS);
|
||||
});
|
||||
test('Should publish message over pubsub on successful user settings update', async () => {
|
||||
test('Should publish pubsub message on successful user settings update', async () => {
|
||||
mockPrisma.userSettings.update.mockResolvedValue({
|
||||
...settings,
|
||||
properties: JSON.parse(settings.properties),
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ export class UserSettingsService {
|
|||
) {}
|
||||
|
||||
/**
|
||||
* Fetch user setting for a given user
|
||||
* Fetch user settings for a given user
|
||||
* @param user User object
|
||||
* @returns Promise of an Either of `UserSettings` or error
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue