Get tests passing again

This commit is contained in:
Michael Jackson
2019-07-09 17:21:25 -07:00
parent 2e3c9ff526
commit f3ecddea47
42 changed files with 309 additions and 305 deletions

View File

@ -1,4 +1,4 @@
import createSearch from '../createSearch';
import createSearch from '../createSearch.js';
describe('createSearch', () => {
it('omits the trailing = for empty string values', () => {

View File

@ -1,4 +1,4 @@
import getContentType from '../getContentType';
import getContentType from '../getContentType.js';
it('gets a content type of text/plain for LICENSE|README|CHANGES|AUTHORS|Makefile', () => {
expect(getContentType('AUTHORS')).toBe('text/plain');

View File

@ -1,4 +1,4 @@
import parsePackageURL from '../parsePackageURL';
import parsePackageURL from '../parsePackageURL.js';
describe('parsePackageURL', () => {
it('parses plain packages', () => {