Skip to content

Commit ca5c4fe

Browse files
pkuczynskibmenant
authored andcommitted
chore: rename phone_number to phone (faker-js#340)
1 parent e909e7d commit ca5c4fe

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { Lorem } from './lorem';
1919
import { Mersenne } from './mersenne';
2020
import { Music } from './music';
2121
import { Name } from './name';
22-
import { Phone } from './phone_number';
22+
import { Phone } from './phone';
2323
import { Random } from './random';
2424
import { System } from './system';
2525
import { Time } from './time';
File renamed without changes.

test/phone_number.spec.ts renamed to test/phone.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { describe, expect, it, vi } from 'vitest';
22
import { faker } from '../dist/cjs';
33

4-
describe('phone_number.js', () => {
4+
describe('phone', () => {
55
describe('phoneNumber()', () => {
66
it('returns a random phoneNumber with a random format', () => {
77
const spy_helpers_replaceSymbolWithNumber = vi.spyOn(

0 commit comments

Comments
 (0)