diff --git a/test/server.js b/test/_server.js similarity index 100% rename from test/server.js rename to test/_server.js diff --git a/test/test-arguments.js b/test/arguments.js similarity index 96% rename from test/test-arguments.js rename to test/arguments.js index be63d39..cad270a 100644 --- a/test/test-arguments.js +++ b/test/arguments.js @@ -1,6 +1,6 @@ import test from 'ava'; import got from '../'; -import {createServer} from './server.js'; +import {createServer} from './_server'; const s = createServer(); diff --git a/test/test-error.js b/test/error.js similarity index 96% rename from test/test-error.js rename to test/error.js index bc636fc..809791f 100644 --- a/test/test-error.js +++ b/test/error.js @@ -1,6 +1,6 @@ import test from 'ava'; import got from '../'; -import {createServer} from './server.js'; +import {createServer} from './_server'; const s = createServer(); diff --git a/test/test-gzip.js b/test/gzip.js similarity index 96% rename from test/test-gzip.js rename to test/gzip.js index 4f889d3..bb094a6 100644 --- a/test/test-gzip.js +++ b/test/gzip.js @@ -1,7 +1,7 @@ import zlib from 'zlib'; import test from 'ava'; import got from '../'; -import {createServer} from './server.js'; +import {createServer} from './_server'; const s = createServer(); const testContent = 'Compressible response content.\n'; diff --git a/test/test-headers.js b/test/headers.js similarity index 97% rename from test/test-headers.js rename to test/headers.js index a4d752b..365fa0e 100644 --- a/test/test-headers.js +++ b/test/headers.js @@ -1,6 +1,6 @@ import test from 'ava'; import got from '../'; -import {createServer} from './server.js'; +import {createServer} from './_server'; const s = createServer(); diff --git a/test/test-helpers.js b/test/helpers.js similarity index 94% rename from test/test-helpers.js rename to test/helpers.js index ef81df7..b492601 100644 --- a/test/test-helpers.js +++ b/test/helpers.js @@ -1,6 +1,6 @@ import test from 'ava'; import got from '../'; -import {createServer} from './server.js'; +import {createServer} from './_server'; const s = createServer(); diff --git a/test/test-http.js b/test/http.js similarity index 97% rename from test/test-http.js rename to test/http.js index ddccc23..d5ecf67 100644 --- a/test/test-http.js +++ b/test/http.js @@ -1,6 +1,6 @@ import test from 'ava'; import got from '../'; -import {createServer} from './server.js'; +import {createServer} from './_server'; const s = createServer(); diff --git a/test/test-https.js b/test/https.js similarity index 96% rename from test/test-https.js rename to test/https.js index f28f6e1..539c284 100644 --- a/test/test-https.js +++ b/test/https.js @@ -1,7 +1,7 @@ import test from 'ava'; import pem from 'pem'; import got from '../'; -import {createSSLServer, portSSL} from './server.js'; +import {createSSLServer, portSSL} from './_server'; let s; let key; diff --git a/test/test-json.js b/test/json.js similarity index 97% rename from test/test-json.js rename to test/json.js index 8348178..c77313c 100644 --- a/test/test-json.js +++ b/test/json.js @@ -1,6 +1,6 @@ import test from 'ava'; import got from '../'; -import {createServer} from './server.js'; +import {createServer} from './_server'; const s = createServer(); diff --git a/test/test-post.js b/test/post.js similarity index 98% rename from test/test-post.js rename to test/post.js index a1d0776..fba5463 100644 --- a/test/test-post.js +++ b/test/post.js @@ -1,7 +1,7 @@ import test from 'ava'; import intoStream from 'into-stream'; import got from '../'; -import {createServer} from './server.js'; +import {createServer} from './_server'; const s = createServer(); diff --git a/test/test-redirects.js b/test/redirects.js similarity index 97% rename from test/test-redirects.js rename to test/redirects.js index 8119efc..529997c 100644 --- a/test/test-redirects.js +++ b/test/redirects.js @@ -1,6 +1,6 @@ import test from 'ava'; import got from '../'; -import {createServer} from './server.js'; +import {createServer} from './_server'; const s = createServer(); diff --git a/test/test-stream.js b/test/stream.js similarity index 98% rename from test/test-stream.js rename to test/stream.js index 1192675..942d79c 100644 --- a/test/test-stream.js +++ b/test/stream.js @@ -1,6 +1,6 @@ import test from 'ava'; import got from '../'; -import {createServer} from './server.js'; +import {createServer} from './_server'; const s = createServer(); diff --git a/test/test-unix-socket.js b/test/unix-socket.js similarity index 95% rename from test/test-unix-socket.js rename to test/unix-socket.js index bc687c9..07ad315 100644 --- a/test/test-unix-socket.js +++ b/test/unix-socket.js @@ -2,7 +2,7 @@ import {format} from 'util'; import tempfile from 'tempfile'; import test from 'ava'; import got from '../'; -import {createServer} from './server.js'; +import {createServer} from './_server'; const s = createServer(); const socketPath = tempfile('.socket');