From 321f10d7b00bef29d7816d70e995803760b74618 Mon Sep 17 00:00:00 2001 From: Colby Gilbert Date: Wed, 28 Aug 2024 17:34:39 -1000 Subject: [PATCH] bug: reconfigure timeout lengths --- dev/plugin.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/plugin.spec.ts b/dev/plugin.spec.ts index cb7e2b5..7d789ec 100644 --- a/dev/plugin.spec.ts +++ b/dev/plugin.spec.ts @@ -42,7 +42,7 @@ describe('Plugin tests', () => { }, data: { alt: 'Ligma Test' }, }) - await new Promise(resolve => setTimeout(resolve, 30000)) + await new Promise(resolve => setTimeout(resolve, 50000)) expect(createdMedia).toBeTruthy() expect(createdMedia.id).toBeDefined() expect(createdMedia.filename).toBe('testVideo.mp4') @@ -213,7 +213,7 @@ describe('Plugin tests', () => { }, }, }) - await new Promise(resolve => setTimeout(resolve, 50000)) + await new Promise(resolve => setTimeout(resolve, 3000)) const resolutions = [144, 240, 300] const exceptedNumSegments = 13