From 0c7ec9a6081bb965b596a5a3c218c76148ba3873 Mon Sep 17 00:00:00 2001 From: 20bcs2915 <20bcs2915@cuchd.in> Date: Mon, 10 Jul 2023 14:31:10 +0530 Subject: [PATCH] Absolute paths --- __tests__/test.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/__tests__/test.js b/__tests__/test.js index 9a896f1..e5dfccd 100644 --- a/__tests__/test.js +++ b/__tests__/test.js @@ -1,9 +1,3 @@ -const path = require('path'); - -// Get the current directory -const currentDirectory = __dirname; -console.log('Current directory:', currentDirectory); - -// Move back one directory -const parentDirectory = path.resolve(currentDirectory, '..'); -console.log('Parent directory:', parentDirectory); +test('1 + 1 = 2', () =>{ + expect(1 + 1).toBe(2); +}) \ No newline at end of file