From 4bbbc02fbd16c0eae84fe7244de1495ff23bdb1f Mon Sep 17 00:00:00 2001 From: Rishika Reddy <120434905+RishikaReddy123@users.noreply.github.com> Date: Mon, 6 Jan 2025 21:43:29 +0530 Subject: [PATCH] Update file_content.mjs Added before and after hooks --- test/file_content.mjs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/file_content.mjs b/test/file_content.mjs index da7521d0bc..ca8b1ea296 100644 --- a/test/file_content.mjs +++ b/test/file_content.mjs @@ -42,6 +42,15 @@ function runTests() { const dir = dirs.dist; describe(`Test if the files from the "${dir}" directory have the expected content`, () => { + + before(() => { + console.log('Starting tests...'); + }); + + after(() => { + console.log('Tests complete.'); + }); + it('"style.css" should contain a custom banner', function (done) { const string = `/*! HTML5 Boilerplate v${pkg.version} | ${pkg.license} License | ${pkg.homepage} */\n`; checkString(path.resolve(dir, 'css/style.css'), string, done);