From 85d869368a04234f0978b17338834ee015af5c7f Mon Sep 17 00:00:00 2001 From: Kerboul Date: Wed, 15 Jan 2025 15:22:20 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20gestion=20des=20erreurs=20lor?= =?UTF-8?q?s=20des=20tests=20de=20cr=C3=A9ation=20et=20de=20destruction=20?= =?UTF-8?q?de=20projet=20dans=20dbTester?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/dbTester.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/dbTester.js b/test/dbTester.js index 7dbaeb1..298ef64 100644 --- a/test/dbTester.js +++ b/test/dbTester.js @@ -15,6 +15,12 @@ async function testCreateDestroyProject() { console.log('Project deleted'); } +try { + testCreateDestroyProject(); +} catch (error) { + console.error('Error:', error); +} + try { printProjects(); } catch (error) {