MCPcopy
hub / github.com/sequelize/sequelize / expectWriteCalls

Function expectWriteCalls

test/integration/replication.test.js:50–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 }
49
50 function expectWriteCalls() {
51 chai.expect(writeSpy.callCount).least(1);
52 chai.expect(readSpy.notCalled).eql(true);
53 }
54
55 it('should be able to make a write', async function() {
56 await expectWriteCalls(await this.User.create({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected