From 7c8f5612bada94b7258c14886a6412f95d6e2268 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sat, 5 Feb 2022 07:27:25 +0300 Subject: [PATCH] Update create-matrix.test.js --- tests/commands/create-matrix.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/commands/create-matrix.test.js b/tests/commands/create-matrix.test.js index 3cf1de580f..b02bf02540 100644 --- a/tests/commands/create-matrix.test.js +++ b/tests/commands/create-matrix.test.js @@ -3,7 +3,7 @@ const path = require('path') const { execSync } = require('child_process') beforeEach(() => { - fs.copyFileSync('tests/__data__/input/channels.db', 'tests/__data__/temp/channels.db') + fs.copyFileSync('tests/__data__/input/streams.db', 'tests/__data__/temp/streams.db') }) afterEach(() => { @@ -13,7 +13,7 @@ afterEach(() => { it('can create valid matrix', () => { const result = execSync( - 'DB_FILEPATH=tests/__data__/temp/channels.db node scripts/commands/create-matrix.js', + 'DB_FILEPATH=tests/__data__/temp/streams.db node scripts/commands/create-matrix.js', { encoding: 'utf8' } ) expect(result).toBe('::set-output name=matrix::{"cluster_id":[1,3]}\n')