Rename to create-database.js

This commit is contained in:
Aleksandr Statciuk 2022-01-22 18:41:03 +03:00
parent dfe3d557f9
commit fcf9d54b94
3 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ jobs:
node-version: '14' node-version: '14'
cache: 'npm' cache: 'npm'
- run: npm install - run: npm install
- run: node scripts/commands/create-queue.js - run: node scripts/commands/create-database.js
- run: node scripts/commands/create-matrix.js - run: node scripts/commands/create-matrix.js
id: create-matrix id: create-matrix
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2

View file

@ -7,7 +7,7 @@ beforeEach(() => {
fs.mkdirSync('tests/__data__/output') fs.mkdirSync('tests/__data__/output')
const stdout = execSync( const stdout = execSync(
'DB_DIR=tests/__data__/output/database node scripts/commands/create-queue.js --channels=tests/__data__/input/sites/*.channels.xml --max-clusters=1', 'DB_DIR=tests/__data__/output/database node scripts/commands/create-database.js --channels=tests/__data__/input/sites/*.channels.xml --max-clusters=1',
{ encoding: 'utf8' } { encoding: 'utf8' }
) )
}) })