Permalink
Browse files

Add PageComponentTest

  • Loading branch information...
nvh committed Sep 30, 2016
1 parent 2f6e520 commit 28ebf17062fae4b3f9d54c79fa18c428be139c7e
Showing with 5 additions and 0 deletions.
  1. +1 −0 test/tests.coffee
  2. +4 −0 test/tests/PageComponentTest.coffee
View
@@ -37,6 +37,7 @@ require "./tests/ImporterTest"
require "./tests/LayerAnimationTest"
require "./tests/ContextTest"
require "./tests/ScrollComponentTest"
+require "./tests/PageComponentTest"
require "./tests/VersionTest"
require "./tests/ColorTest"
require "./tests/DeviceComponentTest"
@@ -0,0 +1,4 @@
+describe "PageComponent", ->
+ it "should have default animationOptions", ->
+ page = new PageComponent
+ page.animationOptions.should.eql {curve: "spring(500, 50, 0)"}

0 comments on commit 28ebf17

Please sign in to comment.