From bc8e80e63dbb209af6743520fa041de308b76eef Mon Sep 17 00:00:00 2001 From: rishabhpoddar Date: Tue, 10 Oct 2023 20:56:50 +0530 Subject: [PATCH] fixes a test --- test/userContext.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/userContext.test.js b/test/userContext.test.js index 0dacca31b..ee9e838f7 100644 --- a/test/userContext.test.js +++ b/test/userContext.test.js @@ -427,7 +427,7 @@ describe(`userContext: ${printPath("[test/userContext.test.js]")}`, function () assert(createNewSessionContextWorks); }); - it("test that makeDefaultUserContext is not used anywhere apart from frameworks", async function () { + it("test that makeDefaultUserContext is not used anywhere apart from frameworks and a few other places", async function () { function recursive(dir, done) { let results = []; fs.readdir(dir, function (err, list) { @@ -469,6 +469,6 @@ describe(`userContext: ${printPath("[test/userContext.test.js]")}`, function () totalCount += count; } - assert(totalCount === 20); + assert(totalCount === 23); }); });