@yoctol/bookshelf-test-utils

    0.0.12 • Public • Published

    bookshelf-test-utils

    import '@yoctol/bookshelf-test-utils/extend-expect';
    await expect(User).toHasInDatabase({
      name: 'user name',
    });
    import { refreshDatabase } from '@yoctol/bookshelf-test-utils';
    
    afterEach(refreshDatabase);

    Install

    npm i @yoctol/bookshelf-test-utils

    DownloadsWeekly Downloads

    1

    Version

    0.0.12

    License

    MIT

    Unpacked Size

    11.5 kB

    Total Files

    10

    Last publish

    Collaborators

    • link515