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'
cache: 'npm'
- run: npm install
- run: node scripts/commands/create-queue.js
- run: node scripts/commands/create-database.js
- run: node scripts/commands/create-matrix.js
id: create-matrix
- uses: actions/upload-artifact@v2

View file

@ -7,7 +7,7 @@ beforeEach(() => {
fs.mkdirSync('tests/__data__/output')
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' }
)
})