symfio-contrib-fixtures

Load fixtures to database from fixtures directory.

symfio-contrib-fixtures

Load fixtures to database from fixtures directory.

symfio = require "symfio"
 
container = symfio "example"__dirname
 
loader = container.get "loader"
 
loader.use require "symfio-contrib-mongoose"
loader.use require "symfio-contrib-fixtures"
 
loader.load()
  • fixtures directory - Default value is fixtures.