This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import config from '../src/config' | |
import chai, { expect, should, assert } from 'chai' | |
import _ from 'lodash' | |
const knex = require('knex')(config.database) | |
const bookshelf = require('bookshelf')(knex) | |
const Test = bookshelf.Model.extend({ | |
tableName: 'TEST_ONLY', | |
idAttribute: 'ID', |
Pull Requests with new development will be rejected if there no unit tests
All new development should have 100% coverage. If something cannot have a test created for it please note why you cannot create the test in the code and pass the work onto whomever you think should create the test (if possible).
Delete it and all associated unit tests. We don't want dead or orphaned code in the application.