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

Check if result is null #267

Merged
merged 1 commit into from
Sep 3, 2018
Merged

Check if result is null #267

merged 1 commit into from
Sep 3, 2018

Conversation

larsgw
Copy link
Contributor

@larsgw larsgw commented Apr 29, 2018

This may be the case if files are ignored. I do not know what the other cases are, and if they
should be handled differently, but at least they don't cause error like this. The two failing tests are failing because of unresolved issues concerning source maps, and should be unrelated to this edit.

This may be the case if files are ignored. I do
not know what the other cases are, and if they
should be handled differently, but at least they
don't cause error like this.

See babel#265
larsgw added a commit to larsgw/citation.js that referenced this pull request May 2, 2018
* [site:test] Fix browser tests again

expect.js doesn't play nicely with Babel, so it
shouldn't be transformed by Babelify.^1 Note that
the ignore option in Babelify is buggy ^2, so
this might not work on your end.

^1 Automattic/expect.js#149
^2 babel/babelify#265

* [test:input] Set up HTTP request mocking

Set up proper HTTP request mocking by mocking
exports with mock-require. Not possible in the
browser, but it wasn't before, so this counts
as an improvement.

Previously done by nock, but this didn't work for
requests made through sync-request, as that
spawns a child process over which nock has no
control.

See #68
See 509d911
Close #134

* [test:input] Increase coverage of input plugins

See #123 

* [package] Add non-npm patch to dependencies

See babel/babelify#267
@loganfsmyth loganfsmyth merged commit 7a46d53 into babel:master Sep 3, 2018
larsgw added a commit to citation-js/citation-js that referenced this pull request Nov 24, 2018
* [site:test] Fix browser tests again

expect.js doesn't play nicely with Babel, so it
shouldn't be transformed by Babelify.^1 Note that
the ignore option in Babelify is buggy ^2, so
this might not work on your end.

^1 Automattic/expect.js#149
^2 babel/babelify#265

* [test:input] Set up HTTP request mocking

Set up proper HTTP request mocking by mocking
exports with mock-require. Not possible in the
browser, but it wasn't before, so this counts
as an improvement.

Previously done by nock, but this didn't work for
requests made through sync-request, as that
spawns a child process over which nock has no
control.

See #68
See 509d911836c7cb7adbc57440ce21a703308e01ff
Close #134

* [test:input] Increase coverage of input plugins

See #123

* [package] Add non-npm patch to dependencies

See babel/babelify#267
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.

2 participants