rochejul / sequelize-mocking

Sequelize extension to deal with data-mocking for testing
MIT License
63 stars 26 forks source link

Do not expose sequelizeMockingTape direclty #12

Closed rochejul closed 7 years ago

rochejul commented 7 years ago

We should do

require('sequelize-mocking').getTape();

instead

require('sequelize-mocking').sequelizeMockingTape

Otherwise, we have to import the tape library

rochejul commented 7 years ago

Link to #11

rochejul commented 7 years ago

Maybe we should not be compatible with less than NodeJs 4.0.0 and so do not ES5 fallback

And then users can do:

require('sequelize-mocking/lib/sequelizeMockingTape');