Skip to content

Commit

Permalink
refactor: rename test file extension to .test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
WikiRik authored Oct 19, 2022
1 parent cad192e commit 5ba1a43
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/validators.js → test/validators.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { test } from '../testUtils';
import { test } from '../test-functions';

describe('isAfter', () => {
it('should validate dates against a start date', () => {
Expand Down

0 comments on commit 5ba1a43

Please sign in to comment.