From a37973f10e79499951f6414299655edcfa91a8bc Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Wed, 1 Jan 2025 10:41:03 +0300 Subject: [PATCH] Update update.test.ts --- tests/commands/sites/update.test.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/commands/sites/update.test.ts b/tests/commands/sites/update.test.ts index e38414d3..40e18b77 100644 --- a/tests/commands/sites/update.test.ts +++ b/tests/commands/sites/update.test.ts @@ -16,9 +16,12 @@ beforeEach(() => { }) it('can update SITES.md', () => { - const stdout = execSync('DOT_SITES_DIR=tests/__data__/output/.sites npm run sites:update', { - encoding: 'utf8' - }) + execSync( + 'DOT_SITES_DIR=tests/__data__/output/.sites SITES_DIR=tests/__data__/input/sites-update/sites npm run sites:update', + { + encoding: 'utf8' + } + ) expect(content('tests/__data__/output/sites.md')).toEqual( content('tests/__data__/expected/_sites.md')