Sha256: d68200b69e81fb1bee9a0d2f8d7529d978f7c1ba762cb003555f97366339f861

Contents?: true

Size: 362 Bytes

Versions: 4

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

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

4 entries across 4 versions & 2 rubygems

Version Path
aid-0.2.2 examples/mocha.rb
abtion-aid-0.3.2 examples/mocha.rb
abtion-aid-0.3.1 examples/mocha.rb
abtion-aid-0.2.0 examples/mocha.rb