Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

fix project search intermittent#3661

Merged
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
jasonLaster:fix-project-test2
Aug 14, 2017
Merged

fix project search intermittent#3661
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
jasonLaster:fix-project-test2

Conversation

@jasonLaster
Copy link
Copy Markdown
Contributor

Summary of Changes

  • fixes a new intermittent
  • adds some docs

Copy link
Copy Markdown
Contributor

@codehag codehag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Comment thread docs/mochitests.md
Here are a few tips for writing mochitests:

* There are lots of great helper methods in [head]
* Try to write async user actions that involve a user action like clicking a button or typing a key press followed by a redux action to listen for. For example, the user step in action involvesthe user clicking the step in button followed by the "stepIn" action firing.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe this could have a code snippit?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah - we should revisit this section the next time we come in here. I think it could be better factored :)

* http://creativecommons.org/publicdomain/zero/1.0/ */

function toggleProjectSearch() {
function openProjectSearch(dbg) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

);
}

function closeProjectSearch(dbg) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@codehag
Copy link
Copy Markdown
Contributor

codehag commented Aug 14, 2017

some linting errors:

yarn lint-md

yarn lint-md v0.24.5
$ remark -qf *.md src configs docs 
docs/mochitests.md
     6:5-6:36  warning  Link to unknown heading: `writing-Tests`. Did you mean `writing-tests`  remark-validate-links  remark-validate-links
  47:45-47:51  warning  Link to unknown heading in `src/test/mochitest/head.js`: `L206`         remark-validate-links  remark-validate-links

⚠ 2 warnings
error Command failed with exit code 1.

yarn lint-md returned exit code 1

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 14, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@c1e811b). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #3661   +/-   ##
=========================================
  Coverage          ?   54.69%           
=========================================
  Files             ?      120           
  Lines             ?     4821           
  Branches          ?     1002           
=========================================
  Hits              ?     2637           
  Misses            ?     2184           
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c1e811b...8c05407. Read the comment docs.

@jasonLaster jasonLaster merged commit 18e7ca7 into firefox-devtools:master Aug 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants