From 7812974cef0c8fee9213d5113f4d67efd7a25e96 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Wed, 24 Jul 2024 10:26:22 -0700 Subject: [PATCH] tests: update --- tests/main.spec.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/tests/main.spec.js b/tests/main.spec.js index 7fc5142..99b29cb 100644 --- a/tests/main.spec.js +++ b/tests/main.spec.js @@ -45,3 +45,27 @@ test( 'launch ntfy-desktop', async () => await app.close() } ) +/* + Test > full loadup and screenshot +*/ + +test( 'full load', async () => +{ + + /* + Initialize + */ + + const app = await electron.launch( { + args: [ + 'index.js', + '--quit' + ], + env: { + ...process.env, + NODE_ENV: 'development' + } + } ) + + await app.close() +} )