Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Wrap setupTests() in runs()
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Gerber committed Oct 6, 2014
1 parent ea17aa0 commit 2c99eca
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/extensions/default/UrlCodeHints/unittests.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ define(function (require, exports, module) {
});

it("should hint for background-image: url() in CSS", function () {
setupTests(testCssPath);
runs(function () {
setupTests(testCssPath);
});

runs(function () {
testEditor.setCursorPos({ line: 3, ch: 26 });
Expand All @@ -289,7 +291,9 @@ define(function (require, exports, module) {
});

it("should hint for background-image: url() in SCSS", function () {
setupTests(testScssPath);
runs(function () {
setupTests(testScssPath);
});

runs(function () {
testEditor.setCursorPos({ line: 4, ch: 34 });
Expand Down

0 comments on commit 2c99eca

Please sign in to comment.