Skip to content

Commit

Permalink
dont need those in .babelrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Pedersen authored and Ryan Pedersen committed Jul 20, 2020
1 parent 3c18b57 commit 1bc18c2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 63 deletions.
14 changes: 7 additions & 7 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"presets": [
"module:metro-react-native-babel-preset"
],
"env": {
"development": {
"plugins": [
"transform-react-jsx-source"
]
}
}
// "env": {
// "development": {
// "plugins": [
// "transform-react-jsx-source"
// ]
// }
// }
}
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
path: test-results

workflows:
build-test-adhoc:
node-android-ios:
jobs:
- node
- android-build-and-test:
Expand Down
51 changes: 4 additions & 47 deletions ios/fastlane/test_output/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ <h1>Test Results</h1>
</section>
<section class="right">
<section id="counters">
<h2 id="test-count"><span class="number">2</span> tests</h2>

<h2 id="fail-count"><span class="number">2</span> failures</h2>
<h2 id="test-count"><span class="number">1</span> tests</h2>

</section>
<section id="segment-bar">
Expand All @@ -123,64 +121,23 @@ <h2 id="fail-count"><span class="number">2</span> failures</h2>
<section id="test-suites">


<section class="test-suite failing" id="circleciDemoReactNative">
<section class="test-suite passing" id="circleciDemoReactNative">
<section class="heading" onclick="toggleTests(this);">
<h3 class="title">circleciDemoReactNative</h3>
</section>
<section class="tests">
<table>


<tr class="test failing " onclick="toggleDetails('testRendersWelcomeScreen');">
<tr class="test passing " onclick="toggleDetails('testRendersWelcomeScreen');">
<td>

</td>
<td><h3 class="title">testRendersWelcomeScreen</h3></td>
</tr>

<tr class="details failing testRendersWelcomeScreen">
<td></td>
<td>

<section class="test-detail reason">((redboxError) == nil) failed: "index.js: Cannot find module 'babel-plugin-transform-react-jsx-source' from '/Users/ryanpedersen/circleci-demo-react-native'</section>


<section class="test-detail snippet">
<span class="n">XCTAssertNil</span><span class="p">(</span><span class="n">redboxError</span><span class="p">,</span> <span class="s">@"RedBox error: %@"</span><span class="p">,</span> <span class="n">redboxError</span><span class="p">);</span>
<span class="n">XCTAssertTrue</span><span class="p">(</span><span class="n">foundElement</span><span class="p">,</span> <span class="s">@"Couldn't find element with text '%@' in %d seconds"</span><span class="p">,</span> <span class="n">TEXT_TO_LOOK_FOR</span><span class="p">,</span> <span class="n">TIMEOUT_SECONDS</span><span class="p">);</span>
</section>
<section class="test-detail">/Users/ryanpedersen/circleci-demo-react-native/ios/circleciDemoReactNativeTests/circleciDemoReactNativeTests.m:60</section>


</td>
</tr>



<tr class="test failing odd" onclick="toggleDetails('testRendersWelcomeScreen');">
<td>
<h3 class="time">0.262s</h3>

</td>
<td><h3 class="title">testRendersWelcomeScreen</h3></td>
</tr>

<tr class="details failing testRendersWelcomeScreen">
<td></td>
<td>

<section class="test-detail reason">((foundElement) is true) failed - Couldn't find element with text 'Hello from CircleCI!' in 600 seconds</section>


<section class="test-detail snippet"> <span class="n">XCTAssertNil</span><span class="p">(</span><span class="n">redboxError</span><span class="p">,</span> <span class="s">@"RedBox error: %@"</span><span class="p">,</span> <span class="n">redboxError</span><span class="p">);</span>
<span class="n">XCTAssertTrue</span><span class="p">(</span><span class="n">foundElement</span><span class="p">,</span> <span class="s">@"Couldn't find element with text '%@' in %d seconds"</span><span class="p">,</span> <span class="n">TEXT_TO_LOOK_FOR</span><span class="p">,</span> <span class="n">TIMEOUT_SECONDS</span><span class="p">);</span>
<span class="p">}</span>
</section>
<section class="test-detail">/Users/ryanpedersen/circleci-demo-react-native/ios/circleciDemoReactNativeTests/circleciDemoReactNativeTests.m:61</section>


</td>
</tr>


</table>
</section>
Expand Down
11 changes: 3 additions & 8 deletions ios/fastlane/test_output/report.junit
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<testsuites name='circleciDemoReactNativeTests.xctest' tests='2' failures='2'>
<testsuite name='circleciDemoReactNative' tests='2' failures='2'>
<testcase classname='circleciDemoReactNative' name='testRendersWelcomeScreen'>
<failure message='((redboxError) == nil) failed: &quot;index.js: Cannot find module &apos;babel-plugin-transform-react-jsx-source&apos; from &apos;/Users/ryanpedersen/circleci-demo-react-native&apos;'>circleciDemoReactNativeTests/circleciDemoReactNativeTests.m:60</failure>
</testcase>
<testcase classname='circleciDemoReactNative' name='testRendersWelcomeScreen'>
<failure message='((foundElement) is true) failed - Couldn&apos;t find element with text &apos;Hello from CircleCI!&apos; in 600 seconds'>circleciDemoReactNativeTests/circleciDemoReactNativeTests.m:61</failure>
</testcase>
<testsuites name='circleciDemoReactNativeTests.xctest' tests='1' failures='0'>
<testsuite name='circleciDemoReactNative' tests='1' failures='0'>
<testcase classname='circleciDemoReactNative' name='testRendersWelcomeScreen' time='0.262'/>
</testsuite>
</testsuites>

0 comments on commit 1bc18c2

Please sign in to comment.