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

Function testArgs

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

Source from the content-addressed store, hash-verified

341 });
342
343 const testArgs = (...args) => expect(this.queryInterface.addColumn(...args))
344 .to.be.rejectedWith(Error, 'addColumn takes at least 3 arguments (table, attribute name, attribute definition)');
345
346 await testArgs('users', 'level_id');
347 await testArgs(null, 'level_id');

Callers 1

Calls 1

addColumnMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…