MCPcopy
hub / github.com/sequelize/sequelize / testArgs

Function testArgs

test/integration/query-interface.test.js:355–356  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

353 });
354
355 const testArgs = (...args) => expect(this.queryInterface.addColumn(...args))
356 .to.be.rejectedWith(Error, 'addColumn takes at least 3 arguments (table, attribute name, attribute definition)');
357
358 await testArgs('users', 'level_id');
359 await testArgs(null, 'level_id');

Callers 1

Calls 1

addColumnMethod · 0.80

Tested by

no test coverage detected