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

Function testArgs

test/integration/query-interface.test.js:343–344  ·  test/integration/query-interface.test.js::testArgs
(...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, class="st">'addColumn takes at least 3 arguments (table, attribute name, attribute definition)');
345
346 await testArgs(class="st">'users', class="st">'level_id');
347 await testArgs(null, class="st">'level_id');

Callers 1

Calls 1

addColumnMethod · 0.80

Tested by

no test coverage detected