aboutsummaryrefslogtreecommitdiff
path: root/test/modules
diff options
context:
space:
mode:
Diffstat (limited to 'test/modules')
-rw-r--r--test/modules/__snapshots__/phone.spec.ts.snap18
-rw-r--r--test/modules/phone.spec.ts5
2 files changed, 22 insertions, 1 deletions
diff --git a/test/modules/__snapshots__/phone.spec.ts.snap b/test/modules/__snapshots__/phone.spec.ts.snap
index 20928c04..cd9778c3 100644
--- a/test/modules/__snapshots__/phone.spec.ts.snap
+++ b/test/modules/__snapshots__/phone.spec.ts.snap
@@ -4,10 +4,28 @@ exports[`phone > 42 > imei 1`] = `"39-751108-670982-8"`;
exports[`phone > 42 > number > noArgs 1`] = `"(975) 310-8670 x982"`;
+exports[`phone > 42 > number > with human style 1`] = `"(975) 310-8670 x982"`;
+
+exports[`phone > 42 > number > with international style 1`] = `"+14976110867"`;
+
+exports[`phone > 42 > number > with national style 1`] = `"(497) 611-0867"`;
+
exports[`phone > 1211 > imei 1`] = `"98-296673-687684-2"`;
exports[`phone > 1211 > number > noArgs 1`] = `"1-929-767-3687 x68488"`;
+exports[`phone > 1211 > number > with human style 1`] = `"1-929-767-3687 x68488"`;
+
+exports[`phone > 1211 > number > with international style 1`] = `"+19829667368"`;
+
+exports[`phone > 1211 > number > with national style 1`] = `"(982) 966-7368"`;
+
exports[`phone > 1337 > imei 1`] = `"21-243529-713619-6"`;
exports[`phone > 1337 > number > noArgs 1`] = `"324-452-9713 x619"`;
+
+exports[`phone > 1337 > number > with human style 1`] = `"324-452-9713 x619"`;
+
+exports[`phone > 1337 > number > with international style 1`] = `"+14125352971"`;
+
+exports[`phone > 1337 > number > with national style 1`] = `"(412) 535-2971"`;
diff --git a/test/modules/phone.spec.ts b/test/modules/phone.spec.ts
index 4e1a76a3..131129ac 100644
--- a/test/modules/phone.spec.ts
+++ b/test/modules/phone.spec.ts
@@ -11,7 +11,10 @@ describe('phone', () => {
t.it('imei');
t.describe('number', (t) => {
- t.it('noArgs');
+ t.it('noArgs')
+ .it('with human style', { style: 'human' })
+ .it('with national style', { style: 'national' })
+ .it('with international style', { style: 'international' });
});
});