Permalink
Browse files

Fixed skipping logic

  • Loading branch information...
nvh committed Sep 8, 2017
1 parent 98a128c commit e399eba1a1ee62bf7e65d0e247b0b9a43edd302b
Showing with 3 additions and 4 deletions.
  1. +3 −4 test/tests/UtilsTest.coffee
@@ -380,10 +380,10 @@ describe "Utils", ->
return
describe "isFontFamilyLoaded", ->
before: ->
before ->
# We skip the this test on CI, because I can't get the WebFont loading to work... :'(
if mocha.env.CI or not mocha.env.ONLINE
@skip()
return
it "should not reset the result if it is loaded successfully", (done) ->
p = Utils.loadWebFontConfig
@@ -410,10 +410,9 @@ describe "Utils", ->
return
describe "Online loadWebFont", ->
before: ->
before ->
if not mocha.env.ONLINE
@skip()
return
it "loads fonts at different weights" , ->
raleway = Utils.loadWebFont("Raleway")

0 comments on commit e399eba

Please sign in to comment.