Sha256: 46cc77ce764596692bd18551833dc350329e28716a6b9af5ab517395a13145b0
Contents?: true
Size: 327 Bytes
Versions: 1
Compression:
Stored size: 327 Bytes
Contents
class Mocha < Aid::Script def self.description "Runs mocha tests against our JavaScript" end def self.help <<~HELP Usage: $ aid mocha This will run mocha tests against our JavaScript codebase. HELP end def run step "Running mocha tests..." do system! "npm run test" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aid-0.1.3 | examples/mocha.rb |