Citation.js converts formats like BibTeX, Wikidata JSON and ContentMine JSON to CSL-JSON to convert to other formats like APA, Vancouver and back to BibTeX.
Now that all web requests in Citation.js go via the util implementations (509d911836c7cb7adbc57440ce21a703308e01ff), it seems like a good idea to properly mock those web requests. I couldn't before because of https://github.com/larsgw/citation.js/issues/68#issuecomment-326906209. Unfortunately, setting up mocks for Node.js and browsers at the same time is difficult, so this might take some time.
Now that all web requests in Citation.js go via the util implementations (509d911836c7cb7adbc57440ce21a703308e01ff), it seems like a good idea to properly mock those web requests. I couldn't before because of https://github.com/larsgw/citation.js/issues/68#issuecomment-326906209. Unfortunately, setting up mocks for Node.js and browsers at the same time is difficult, so this might take some time.