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

Test symbol extraction for async/exported functions#3522

Merged
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
frigus02:tests-for-async-exported-function-search
Aug 1, 2017
Merged

Test symbol extraction for async/exported functions#3522
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
frigus02:tests-for-async-exported-function-search

Conversation

@frigus02
Copy link
Copy Markdown
Contributor

@frigus02 frigus02 commented Aug 1, 2017

Associated Issue: #3158

Summary of Changes

  • Add examples of export, async and export async functions to the func.js parser tests.
  • Update the corresponding snapshot files.

@frigus02 frigus02 force-pushed the tests-for-async-exported-function-search branch from 4ba6eaa to 91deb2b Compare August 1, 2017 19:01
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 1, 2017

Codecov Report

Merging #3522 into master will decrease coverage by 0.27%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #3522      +/-   ##
=========================================
- Coverage   51.97%   51.7%   -0.28%     
=========================================
  Files         110     106       -4     
  Lines        4529    4377     -152     
  Branches      936     911      -25     
=========================================
- Hits         2354    2263      -91     
+ Misses       2175    2114      -61
Impacted Files Coverage Δ
src/actions/sources.js 53.37% <0%> (-13.3%) ⬇️
src/utils/source.js 44.64% <0%> (-6.18%) ⬇️
src/client/firefox/create.js 13.33% <0%> (-5.42%) ⬇️
src/client/firefox/events.js 36.36% <0%> (-2.77%) ⬇️
src/client/firefox/commands.js 15.04% <0%> (-0.75%) ⬇️
src/client/firefox.js 87.5% <0%> (-0.74%) ⬇️
src/components/SymbolModal.js 30.82% <0%> (-0.72%) ⬇️
src/utils/sources-tree.js 92.45% <0%> (-0.19%) ⬇️
src/selectors/linesInScope.js 93.75% <0%> (ø) ⬆️
src/components/Editor/Preview.js 4.83% <0%> (ø) ⬆️
... and 16 more

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 c119277...91deb2b. Read the comment docs.

Copy link
Copy Markdown
Contributor

@jasonLaster jasonLaster left a comment

Choose a reason for hiding this comment

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

Thanks. Looks great

@jasonLaster
Copy link
Copy Markdown
Contributor

just noticed that jumpTo now has functions like exFoo!

screen shot 2017-08-01 at 3 35 36 pm

@frigus02
Copy link
Copy Markdown
Contributor Author

frigus02 commented Aug 1, 2017

Uh, that's neat. Seems like there's no support for async functions yet, though :-)

@jasonLaster jasonLaster merged commit 9b06f65 into firefox-devtools:master Aug 1, 2017
@jasonLaster
Copy link
Copy Markdown
Contributor

jasonLaster commented Aug 1, 2017

oh neat, it's good that we established the baseline.

That'll be good to add in a separate PR :)

We have tons of async functions in debugger.html

@frigus02
Copy link
Copy Markdown
Contributor Author

frigus02 commented Aug 1, 2017

Oh, I meant the GitHub "Jump to..." feature does not recognize async functions yet. The debugger.html does recognize them.

@jasonLaster
Copy link
Copy Markdown
Contributor

jasonLaster commented Aug 1, 2017 via email

@frigus02 frigus02 deleted the tests-for-async-exported-function-search branch August 21, 2017 15:12
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