Skip to content

Commit c7787c5

Browse files
refactor(FakerError): rename file name
1 parent 69a84d2 commit c7787c5

12 files changed

Lines changed: 11 additions & 11 deletions

File tree

src/fake.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Faker } from '.';
2-
import { FakerError } from './errors/faker.error';
2+
import { FakerError } from './errors/faker-error';
33

44
/**
55
* Generator method for combining faker methods based on string input.

src/faker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Datatype } from './datatype';
77
import { _Date } from './date';
88
import type { LocaleDefinition } from './definitions';
99
import { DEFINITIONS } from './definitions';
10-
import { FakerError } from './errors/faker.error';
10+
import { FakerError } from './errors/faker-error';
1111
import { Fake } from './fake';
1212
import { Finance } from './finance';
1313
import { Git } from './git';

src/finance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Faker } from '.';
2-
import { FakerError } from './errors/faker.error';
2+
import { FakerError } from './errors/faker-error';
33
import type { Helpers } from './helpers';
44
import ibanLib from './iban';
55

src/mersenne.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FakerError } from './errors/faker.error';
1+
import { FakerError } from './errors/faker-error';
22
import Gen from './vendor/mersenne';
33

44
/**

src/random.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Faker } from '.';
2-
import { FakerError } from './errors/faker.error';
2+
import { FakerError } from './errors/faker-error';
33
import { deprecated } from './internal/deprecated';
44

55
/**

src/vendor/unique.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FakerError } from '../errors/faker.error';
1+
import { FakerError } from '../errors/faker-error';
22

33
export type RecordKey = string | number | symbol;
44

test/fake.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, expect, it } from 'vitest';
22
import { faker } from '../src';
3-
import { FakerError } from '../src/errors/faker.error';
3+
import { FakerError } from '../src/errors/faker-error';
44

55
describe('fake', () => {
66
describe('fake()', () => {

test/faker.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { beforeEach, describe, expect, it } from 'vitest';
22
import { faker, Faker } from '../src';
3-
import { FakerError } from '../src/errors/faker.error';
3+
import { FakerError } from '../src/errors/faker-error';
44

55
describe('faker', () => {
66
beforeEach(() => {

test/finance.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { afterEach, describe, expect, it } from 'vitest';
22
import { faker } from '../src';
3-
import { FakerError } from '../src/errors/faker.error';
3+
import { FakerError } from '../src/errors/faker-error';
44
import ibanLib from '../src/iban';
55
import { luhnCheck } from './support/luhnCheck';
66

0 commit comments

Comments
 (0)