Skip to content

Commit

Permalink
fixes a test
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Oct 10, 2023
1 parent 0f26a0a commit bc8e80e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/userContext.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -469,6 +469,6 @@ describe(`userContext: ${printPath("[test/userContext.test.js]")}`, function ()
totalCount += count;
}

assert(totalCount === 20);
assert(totalCount === 23);
});
});

0 comments on commit bc8e80e

Please sign in to comment.