Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Refactoring

  • Loading branch information...
commit d03dc081427eec79f7fd8bf1b9ef37772f595087 1 parent fb9d1f9
@DennisKehrig DennisKehrig authored
View
2  test/spec/ExtensionUtils-test-files/basic.less
@@ -1,4 +1,4 @@
-/* basic.css */
+/* basic.less */
@import "sub dir/fourth.less";
@size: 33px;
View
2  test/spec/ExtensionUtils-test-files/sub dir/fifth.less
@@ -1,4 +1,4 @@
-// HighASCII_été.less
+// fifth.less
#project-title {
letter-spacing: 9px;
View
2  test/spec/ExtensionUtils-test-files/sub dir/third.css
@@ -1,4 +1,4 @@
-/* HighASCII_été.css */
+/* third.css */
#project-title {
font-variant: small-caps;
View
8 test/spec/ExtensionUtils-test.js
@@ -81,8 +81,8 @@ define(function (require, exports, module) {
}, "loadStyleSheet() cssRules defined timeout", 1000);
}
- // putting everything in 1 test so it runs faster
- it("should attach style sheets", function () {
+ // putting everything CSS related in 1 test so it runs faster
+ it("should attach CSS style sheets", function () {
runs(function () {
loadStyleSheet(testWindow.document, "ExtensionUtils-test-files/basic.css");
@@ -111,6 +111,10 @@ define(function (require, exports, module) {
var fontVariant = $projectTitle.css("font-variant");
expect(fontVariant).toEqual("small-caps");
});
+ });
+
+ // putting everything LESS related in 1 test so it runs faster
+ it("should attach LESS style sheets", function () {
runs(function () {
loadStyleSheet(testWindow.document, "ExtensionUtils-test-files/basic.less");
Please sign in to comment.
Something went wrong with that request. Please try again.