Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(isIP): allow usage of options object #2089

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: rename test file extension to .test.js
  • Loading branch information
WikiRik authored Oct 19, 2022
commit 5ba1a4353d41d1f374e54b935e4165af1863386d
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