Sha256: 78a8327e980369f2fb4d8c805b968dfba927cb1f26a091aa32d3af292d995e07

Contents?: true

Size: 536 Bytes

Versions: 4

Compression:

Stored size: 536 Bytes

Contents

Feature: Transforming JSX into Javascript
  Background:
    Given a fixture app "app"
    Given a successfully built app at "app"

  Scenario: A simple JSX file
    When I cd to "build"
    Then the following files should exist:
      | assets/javascripts/plain_jsx.js |
    When I run `cat assets/javascripts/plain_jsx.js`
    Then the stdout from "cat assets/javascripts/plain_jsx.js" should contain exactly:
      """
      /** @jsx React.DOM */
      React.createElement("div", null);

      """
    And the exit status should be 0

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
middleman-react-0.13.3 spec/features/jsx.feature
middleman-react-0.13.1 spec/features/jsx.feature
middleman-react-0.12.1.1 spec/features/jsx.feature
middleman-react-0.12.1 spec/features/jsx.feature