Skip to content

Commit 8b2b490

Browse files
committed
test: simplify callback
1 parent 0b996b1 commit 8b2b490

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/collections/backup/integration.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ describe('Integration testing of backups', () => {
131131
includeCollections: ['TestListBackups'],
132132
waitForCompletion: true,
133133
})
134-
.then((res) => {
135-
return res.id;
136-
})
134+
.then((res) => res.id)
137135
);
138136
}
139137

0 commit comments

Comments
 (0)