meteor Basic Codeship Setup for Automated Testing Prepare the Project


Example

  • Write some tests
  • Install dispatch:mocha-phantomjs:
    meteor add dispatch:mocha-phantomjs
    
  • Add a test-command to your package.json.
    {    
      "name": "awesome meteor package",
      "scripts": {
        "test": "meteor test --driver-package dispatch:mocha-phantomjs --once"
      }
    }
    
  • Make sure that you can run npm test in your project root.