| 2 | const Config = require('../lib/Config'); |
| 3 | |
| 4 | const cleanUpIndexes = schema => { |
| 5 | if (schema.indexes) { |
| 6 | delete schema.indexes._id_; |
| 7 | if (!Object.keys(schema.indexes).length) { |
| 8 | delete schema.indexes; |
| 9 | } |
| 10 | } |
| 11 | }; |
| 12 | |
| 13 | describe('DefinedSchemas', () => { |
| 14 | let config; |
no outgoing calls
no test coverage detected