sakuraapi / cli

Command Line Interface for Scaffolding and Managing SakuraAPI Projects
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

update generated spec/config/environment.ts #23

Open etsuo opened 6 years ago

etsuo commented 6 years ago
import * as environment from '../../src/config/environment';

...

  dbConnections: [
    ...(environment as any).dbConnections
  ],

This will make it less confusing when setting up databases. If an integrator wants their test environment to be totally different, they can change this, but by default setup tests to rely on the main environment file for less confusing initial configuration.