Sha256: df1cc40998783f3ce05c026e23195ce9b608d5a826fbe78d7886fba57a070a54
Contents?: true
Size: 816 Bytes
Versions: 4
Compression:
Stored size: 816 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class RunnerTest < ViteRails::Test def test_dev_server_command assert_run_command(flags: ['--mode', 'production']) end def test_dev_server_command_via_yarn assert_run_command(flags: ['--mode', 'production'], use_yarn: true) end def test_dev_server_command_with_argument assert_run_command('--quiet', flags: ['--mode', 'production']) end def test_build_command assert_run_command('build', flags: ['--mode', 'production']) end def test_build_command_via_yarn assert_run_command('build', flags: ['--mode', 'production'], use_yarn: true) end def test_build_command_with_argument with_rails_env('development') do assert_run_command('build', '--emptyOutDir', flags: ['--mode', 'development']) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
vite_rails-1.0.12 | test/runner_test.rb |
vite_rails-1.0.11 | test/runner_test.rb |
vite_rails-1.0.10 | test/runner_test.rb |
vite_rails-1.0.9 | test/runner_test.rb |