MCPcopy Index your code
hub / github.com/sequelize/sequelize / testsql

Function testsql

test/unit/sql/data-types.test.js:19–23  ·  view source on GitHub ↗
(description, dataType, expectation)

Source from the content-addressed store, hash-verified

17
18 describe('DataTypes', () => {
19 const testsql = function(description, dataType, expectation) {
20 it(description, () => {
21 return expectsql(current.normalizeDataType(dataType).toSql(), expectation);
22 });
23 };
24
25 describe('STRING', () => {
26 testsql('STRING', DataTypes.STRING, {

Callers 1

data-types.test.jsFile · 0.70

Calls 3

expectsqlFunction · 0.85
normalizeDataTypeMethod · 0.80
toSqlMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…