Closed f1337 closed 8 years ago
@diminish7 I'm guessing this has something to do with #60.
It looks like the tests pass in isolation (npm test coffee
is green), but the suite (npm test
) does not pass.
@f1337 Hmmm... Bizarre, the test suite passes for me. Might need to pair on this since I can't reproduce locally.
@f1337 It's interesting that your output has the failures before any of the build output, so it is just failing right away. Like doing the loop where it checks for the file for 5 seconds, it just jumps straight to the assertion. I wonder if there's something different with date math on our versions of node? (I'm on 5.9.0
) Or possibly mac vs linux?
When I checkout SHA a9e8b4add80ec7cce93dfaefbf07c9d380387655 (before #60 was merged), the tests pass:
vagrant@vagrant-ubuntu-trusty-64:/vagrant/haiku9$ npm test
> haiku9@1.1.0-beta-13 test /vagrant/haiku9
> coffee test/index.coffee
Beginning task 'build'...
Beginning task 'survey'...
Beginning task 'survey/pass-thru'...
Task 'survey/pass-thru' completed in 100ms.
Beginning task 'survey/image'...
Task 'survey/image' completed in 6ms.
Beginning task 'survey/stylus'...
Task 'survey/stylus' completed in 6ms.
Beginning task 'survey/jade'...
Beginning task 'data'...
Task 'data' completed in 9ms.
Task 'survey/jade' completed in 15ms.
Beginning task 'survey/coffee'...
Task 'survey/coffee' completed in 6ms.
Beginning task 'survey/markdown'...
Task 'survey/markdown' completed in 5ms.
Beginning task 'survey/posts'...
Task 'survey/posts' completed in 0ms.
Beginning task 'survey/bundle'...
Task 'survey/bundle' completed in 5ms.
Task 'survey' completed in 144ms.
Task 'build' completed in 156ms.
Haiku9 static-site generation
Run the build task
Compile Jade files
Compile Stylus files
Compile CoffeeScript files
Passes through xml files
Passes through json files
Haiku9 serve task
Starts a local server on the default port