Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var when = require('a').when;
var c = {};
when('./execute',c)
.it('returns shallowJoinSql concat joinedColumnSql').assertEqual(c.expected,c.returned);
var when = require('a').when;
var c = {};
when('./execute',c)
.it('returns shallowJoinSql concat nextJoinSql').assertEqual(c.expected,c.returned);
var when = require('a').when;
var c = {};
when('./execute',c)
.it('should return strategy').assertEqual(c.strategy,c.returned);
var when = require('a').when;
var c = {};
when('./execute',c)
.it('returns expected').assertEqual(c.expected,c.returned);
var when = require('a').when;
var c = {};
when('./execute',c)
.it('returns shallowJoinSql concat nextJoinSql').assertEqual(c.expected,c.returned);
var when = require('a').when;
var c = {};
when(c)
.it('should log query').assertDoesNotThrow(c.log.verify)
.it('should execute query').assertDoesNotThrow(c.runQuery.verify)
.it('should return object').assertEqual(c.expected, c.returned)
var when = require('a').when;
var c = {}
when('./notEqual',c)
.it('should return filter').assertEqual(c.expected,c.returned);
var when = require('a').when;
var c = {};
when(c)
.it('should return dto').assertEqual(c.dto, c.returned)
.it('should map foo').assertEqual(c.fooDto, c.dto.foo)
.it('should map bar').assertEqual(c.barDto, c.dto.bar)
var when = require('a').when;
var c = {};
when(c)
.it('should set parameters to filter.parameters').assertEqual(c.parameters, c.sut.parameters);
var when = require('a').when;
var c = {};
when(c)
.it('should remove from domainCache').assertDoesNotThrow(c.domainCache.tryRemove.verify)
;