mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 08:00:06 +00:00
style: plain punctuation in the new comments and test names
This commit is contained in:
@@ -504,7 +504,7 @@ describe('mutationQueue.flush — failure handling (B3)', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('mutationQueue.flush — a write the server keeps failing on', () => {
|
||||
describe('mutationQueue.flush: a write the server keeps failing on', () => {
|
||||
it('holds back only its own trip, with a growing gap, while other trips sync', async () => {
|
||||
const stuck = generateUUID();
|
||||
const sameTrip = generateUUID();
|
||||
@@ -563,7 +563,7 @@ describe('mutationQueue.flush — a write the server keeps failing on', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('mutationQueue — parked changes', () => {
|
||||
describe('mutationQueue: parked changes', () => {
|
||||
it('retryFailed puts them back in line from a fresh start and sends them', async () => {
|
||||
const id = generateUUID();
|
||||
await mutationQueue.enqueue(makeMutation({ id }));
|
||||
|
||||
@@ -438,7 +438,7 @@ describe('tripSyncManager.syncAll — logout while syncing', () => {
|
||||
|
||||
vi.mock('../../../src/repo/roadtripPreferencesRepo', () => ({ roadtripPreferencesRepo: { read: vi.fn(async () => ({})) } }))
|
||||
|
||||
describe('tripSyncManager.syncAll — deletions made elsewhere', () => {
|
||||
describe('tripSyncManager.syncAll: deletions made elsewhere', () => {
|
||||
it('drops cached rows the server no longer has, and keeps the ones created offline', async () => {
|
||||
const tripId = 400;
|
||||
const bundle = makeBundle(tripId);
|
||||
|
||||
Reference in New Issue
Block a user