chore: comment text updated

This commit is contained in:
Mir Arif Hasan
2023-01-23 21:54:19 +06:00
parent 27b9f57d7a
commit e40d77420c
2 changed files with 3 additions and 3 deletions

View File

@@ -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),

View File

@@ -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
*/