Exception: Quilt::ReactRenderable::DoNotIntegrationTestError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/quilt_rails/react_renderable.rb

Instance Method Summary collapse

Constructor Details

#initializeDoNotIntegrationTestError

Returns a new instance of DoNotIntegrationTestError.



63
64
65
66
67
68
69
70
# File 'lib/quilt_rails/react_renderable.rb', line 63

def initialize
  super(<<~MSG.squish)
    Please don't test React views with Ruby.
    Jest and @shopify/react-testing should be used to test React components.

    If you meant to query your Rails application, please check your integration test for errors.
  MSG
end