Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return null when profile setting does not exist #177

Merged
merged 2 commits into from
Oct 26, 2017
Merged

Conversation

homerchen19
Copy link
Member

@homerchen19 homerchen19 commented Oct 26, 2017

Fixed #176

@codecov
Copy link

codecov bot commented Oct 26, 2017

Codecov Report

Merging #177 into master will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #177      +/-   ##
==========================================
+ Coverage   97.11%   97.15%   +0.04%     
==========================================
  Files          14       14              
  Lines         416      422       +6     
  Branches       28       36       +8     
==========================================
+ Hits          404      410       +6     
  Misses         12       12
Impacted Files Coverage Δ
...ges/messaging-api-messenger/src/MessengerClient.js 96.27% <100%> (+0.12%) ⬆️

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 0decc07...dd3b5cb. Read the comment docs.

@tw0517tw
Copy link
Member

do we need tests for these?

@@ -1240,6 +1362,24 @@ describe('chat extension home URL', () => {
in_test: true,
});
});

it('should response null when data is an emoty array', async () => {
Copy link
Member

Choose a reason for hiding this comment

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

emoty

Copy link
Member

@tw0517tw tw0517tw left a comment

Choose a reason for hiding this comment

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

it's ok after fixing the typo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants