Skip to content

Commit

Permalink
Replace EOL jasmine runner
Browse files Browse the repository at this point in the history
all should run with "bundle exec rake jasmine:ci"
  • Loading branch information
kr8n3r committed Sep 19, 2024
1 parent e562b16 commit b8100a9
Show file tree
Hide file tree
Showing 4 changed files with 2,738 additions and 98 deletions.
12 changes: 10 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "jasmine"
require_relative "spec/site_helper"

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

load "jasmine/tasks/jasmine.rake"
namespace :jasmine do
desc "Run Jasmine tests in headless mode"
task 'ci' do
Helpers.rebuild_site!
if !system("npx jasmine-browser-runner runSpecs")
exit 1
end
end
end

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

0 comments on commit b8100a9

Please sign in to comment.