Skip to content

Commit 72daa27

Browse files
committed
removing unnecessary setTimeout in functions.spec
1 parent 22f41f3 commit 72daa27

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

test/specs/functions.spec.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -286,13 +286,10 @@ describe("Main", function() {
286286
describe("#createCircle", function() {
287287
var radius, circle;
288288

289-
it("should be a function", function(done) {
290-
setTimeout(function() {
291-
(typeof createCircle).should.equal("function");
292-
radius = 4;
293-
circle = createCircle(radius);
294-
done();
295-
}, 1000);
289+
it("should be a function", function() {
290+
(typeof createCircle).should.equal("function");
291+
radius = 4;
292+
circle = createCircle(radius);
296293
});
297294

298295
it("should return a circle object with the properties circumference and area", function() {

0 commit comments

Comments
 (0)