Skip to content

Commit d0953a6

Browse files
committed
Use correct method for calledOnce in tests
1 parent 70c8b3d commit d0953a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ describe('suitcss', function() {
186186
beforeLint: beforeLintStub
187187
}).catch(done);
188188

189-
expect(lintImportedFilesStub).to.be.called.once;
190-
expect(beforeLintStub).to.be.called.once;
189+
expect(lintImportedFilesStub).to.be.calledOnce;
190+
expect(beforeLintStub).to.be.calledOnce;
191191
expect(beforeLintStub).to.have.been.calledBefore(lintImportedFilesStub);
192192

193193
done();

0 commit comments

Comments
 (0)