Skip to content

Commit

Permalink
Merge pull request #382 from alphagov/swap-jasmine-gem-for-new-runner
Browse files Browse the repository at this point in the history
Swap jasmine gem for new runner
  • Loading branch information
tombye authored Jan 15, 2025
2 parents 9aa4b31 + 87a5284 commit e65e6d0
Show file tree
Hide file tree
Showing 7 changed files with 2,852 additions and 188 deletions.
11 changes: 10 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ require "jasmine"

RSpec::Core::RakeTask.new(:spec)

load "jasmine/tasks/jasmine.rake"
namespace :jasmine do
desc "Test JavaScript with headless browser"
task :ci do
sh "npm test"
end
desc "Test JavaScript in browser"
task :server do
sh "npm run test-server"
end
end

desc "Lint Ruby and JavaScript"
task :lint do
Expand Down
Loading

0 comments on commit e65e6d0

Please sign in to comment.