Skip to content

Commit

Permalink
Add Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkitkkr committed Jul 26, 2022
1 parent a54594e commit 2b8525e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/configuration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,18 @@ def test_compile?
end
end

def test_nested_entries?
refute @config.nested_entries?

with_rails_env("development") do
assert Webpacker.config.nested_entries?
end

with_rails_env("test") do
assert Webpacker.config.nested_entries?
end
end

def test_ensure_consistent_versioning?
refute @config.ensure_consistent_versioning?

Expand Down

0 comments on commit 2b8525e

Please sign in to comment.