We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bbf62d0 + 2e6e136 commit 5f53e47Copy full SHA for 5f53e47
test/rake_tasks_test.rb
@@ -52,6 +52,16 @@ def test_rake_webpacker_yarn_install_in_production_environment
52
"Expected only production dependencies to be installed"
53
end
54
55
+ def test_check_node_version
56
+ output = Dir.chdir(test_app_path) { `rake webpacker:check_node 2>&1` }
57
+ assert_empty output
58
+ end
59
+
60
+ def test_check_yarn_version
61
+ output = Dir.chdir(test_app_path) { `rake webpacker:check_yarn 2>&1` }
62
63
64
65
private
66
def test_app_path
67
File.expand_path("test_app", __dir__)
0 commit comments