From b138f67e86a8af193762395bd985c5c9ec8cc00f Mon Sep 17 00:00:00 2001 From: Jackson Weber Date: Fri, 2 Feb 2024 14:24:10 -0800 Subject: [PATCH] Update EndToEnd.tests.ts --- Tests/EndToEnd.tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/EndToEnd.tests.ts b/Tests/EndToEnd.tests.ts index a51b6571..c6149754 100644 --- a/Tests/EndToEnd.tests.ts +++ b/Tests/EndToEnd.tests.ts @@ -484,7 +484,7 @@ describe("EndToEnd", () => { writeFileSync = sandbox.stub(fs, 'writeFileSync'); existsSync = sandbox.stub(fs, 'existsSync').returns(true); readdir = sandbox.stub(FileSystemHelper, 'readdirAsync').returns(['1.ai.json']); - readdirSync = sandbox.stub(fs, 'readdirSync').returns(['.ai.json']); + readdirSync = sandbox.stub(fs, 'readdirSync').returns(['1.ai.json']); stat = sandbox.stub(FileSystemHelper, 'statAsync').returns({ isFile: () => true, size: 8000 }); statSync = sandbox.stub(fs, 'statSync').returns({ isFile: () => true, size: 8000 }); lstat = sandbox.stub(FileSystemHelper, 'lstatAsync').returns({ isDirectory: () => true });