Browse Source

rename test files

no point in prefixing them with `test-` when in a `test` folder.
http2
Sindre Sorhus 9 years ago
parent
commit
c8e0e04723
  1. 0
      test/_server.js
  2. 2
      test/arguments.js
  3. 2
      test/error.js
  4. 2
      test/gzip.js
  5. 2
      test/headers.js
  6. 2
      test/helpers.js
  7. 2
      test/http.js
  8. 2
      test/https.js
  9. 2
      test/json.js
  10. 2
      test/post.js
  11. 2
      test/redirects.js
  12. 2
      test/stream.js
  13. 2
      test/unix-socket.js

0
test/server.js → test/_server.js

2
test/test-arguments.js → test/arguments.js

@ -1,6 +1,6 @@
import test from 'ava'; import test from 'ava';
import got from '../'; import got from '../';
import {createServer} from './server.js'; import {createServer} from './_server';
const s = createServer(); const s = createServer();

2
test/test-error.js → test/error.js

@ -1,6 +1,6 @@
import test from 'ava'; import test from 'ava';
import got from '../'; import got from '../';
import {createServer} from './server.js'; import {createServer} from './_server';
const s = createServer(); const s = createServer();

2
test/test-gzip.js → test/gzip.js

@ -1,7 +1,7 @@
import zlib from 'zlib'; import zlib from 'zlib';
import test from 'ava'; import test from 'ava';
import got from '../'; import got from '../';
import {createServer} from './server.js'; import {createServer} from './_server';
const s = createServer(); const s = createServer();
const testContent = 'Compressible response content.\n'; const testContent = 'Compressible response content.\n';

2
test/test-headers.js → test/headers.js

@ -1,6 +1,6 @@
import test from 'ava'; import test from 'ava';
import got from '../'; import got from '../';
import {createServer} from './server.js'; import {createServer} from './_server';
const s = createServer(); const s = createServer();

2
test/test-helpers.js → test/helpers.js

@ -1,6 +1,6 @@
import test from 'ava'; import test from 'ava';
import got from '../'; import got from '../';
import {createServer} from './server.js'; import {createServer} from './_server';
const s = createServer(); const s = createServer();

2
test/test-http.js → test/http.js

@ -1,6 +1,6 @@
import test from 'ava'; import test from 'ava';
import got from '../'; import got from '../';
import {createServer} from './server.js'; import {createServer} from './_server';
const s = createServer(); const s = createServer();

2
test/test-https.js → test/https.js

@ -1,7 +1,7 @@
import test from 'ava'; import test from 'ava';
import pem from 'pem'; import pem from 'pem';
import got from '../'; import got from '../';
import {createSSLServer, portSSL} from './server.js'; import {createSSLServer, portSSL} from './_server';
let s; let s;
let key; let key;

2
test/test-json.js → test/json.js

@ -1,6 +1,6 @@
import test from 'ava'; import test from 'ava';
import got from '../'; import got from '../';
import {createServer} from './server.js'; import {createServer} from './_server';
const s = createServer(); const s = createServer();

2
test/test-post.js → test/post.js

@ -1,7 +1,7 @@
import test from 'ava'; import test from 'ava';
import intoStream from 'into-stream'; import intoStream from 'into-stream';
import got from '../'; import got from '../';
import {createServer} from './server.js'; import {createServer} from './_server';
const s = createServer(); const s = createServer();

2
test/test-redirects.js → test/redirects.js

@ -1,6 +1,6 @@
import test from 'ava'; import test from 'ava';
import got from '../'; import got from '../';
import {createServer} from './server.js'; import {createServer} from './_server';
const s = createServer(); const s = createServer();

2
test/test-stream.js → test/stream.js

@ -1,6 +1,6 @@
import test from 'ava'; import test from 'ava';
import got from '../'; import got from '../';
import {createServer} from './server.js'; import {createServer} from './_server';
const s = createServer(); const s = createServer();

2
test/test-unix-socket.js → test/unix-socket.js

@ -2,7 +2,7 @@ import {format} from 'util';
import tempfile from 'tempfile'; import tempfile from 'tempfile';
import test from 'ava'; import test from 'ava';
import got from '../'; import got from '../';
import {createServer} from './server.js'; import {createServer} from './_server';
const s = createServer(); const s = createServer();
const socketPath = tempfile('.socket'); const socketPath = tempfile('.socket');
Loading…
Cancel
Save