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.
1 parent 205af95 commit 0b84950Copy full SHA for 0b84950
spec/react_on_rails/utils_spec.rb
@@ -32,6 +32,7 @@ module ReactOnRails
32
33
# We don't need to mock anything here because the shakapacker gem is already installed and will be used by default
34
it "uses shakapacker" do
35
+ expect(ReactOnRails::PackerUtils.using_webpacker_const?).to be(false)
36
expect(ReactOnRails::PackerUtils.using_shakapacker_const?).to be(true)
37
expect(ReactOnRails::PackerUtils.packer_type).to eq("shakapacker")
38
expect(ReactOnRails::PackerUtils.packer).to eq(::Shakapacker)
0 commit comments