diff --git a/test/client-side.js b/test/client-side.test.js similarity index 100% rename from test/client-side.js rename to test/client-side.test.js diff --git a/test/exports.js b/test/exports.test.js similarity index 100% rename from test/exports.js rename to test/exports.test.js diff --git a/test/sanitizers.js b/test/sanitizers.test.js similarity index 100% rename from test/sanitizers.js rename to test/sanitizers.test.js diff --git a/test/testUtils.js b/test/test-functions.js similarity index 100% rename from test/testUtils.js rename to test/test-functions.js diff --git a/test/util.js b/test/util.test.js similarity index 100% rename from test/util.js rename to test/util.test.js diff --git a/test/validators.js b/test/validators.test.js similarity index 99% rename from test/validators.js rename to test/validators.test.js index 31777cc97..a2cb2bbe5 100644 --- a/test/validators.js +++ b/test/validators.test.js @@ -3,7 +3,7 @@ import fs from 'fs'; import { format } from 'util'; import vm from 'vm'; import validator from '../src/index'; -import { repeat, test } from './testUtils'; +import { repeat, test } from './test-functions'; let validator_js = fs.readFileSync(require.resolve('../validator.js')).toString(); diff --git a/test/validators/isAfter.js b/test/validators/isAfter.test.js similarity index 97% rename from test/validators/isAfter.js rename to test/validators/isAfter.test.js index 485391841..eb7bb3611 100644 --- a/test/validators/isAfter.js +++ b/test/validators/isAfter.test.js @@ -1,4 +1,4 @@ -import { test } from '../testUtils'; +import { test } from '../test-functions'; describe('isAfter', () => { it('should validate dates against a start date', () => {