aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMateus Dadalto <[email protected]>2022-01-09 17:25:59 -0300
committerGitHub <[email protected]>2022-01-09 15:25:59 -0500
commit7b0558edab05b7440cb36f920abbf78037b13c8a (patch)
tree8e842b0fa9a532a32237525be98227cbd2016991 /test
parentc7888905a0e1936f782b329a641f3553b1126872 (diff)
downloadfaker-7b0558edab05b7440cb36f920abbf78037b13c8a.tar.xz
faker-7b0558edab05b7440cb36f920abbf78037b13c8a.zip
fix(tests): fix failing tests (#12)
Co-authored-by: Shinigami <[email protected]>
Diffstat (limited to 'test')
-rw-r--r--test/finance.unit.js2
-rw-r--r--test/random.unit.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/finance.unit.js b/test/finance.unit.js
index 9fa426dd..1ff06526 100644
--- a/test/finance.unit.js
+++ b/test/finance.unit.js
@@ -279,7 +279,7 @@ describe('finance.js', function () {
it("returns a random litecoin address", function(){
var litecoinAddress = faker.finance.litecoinAddress();
- assert.ok(litecoinAddress.match(/^[LM3][1-9a-km-zA-HJ-NP-Z]{25,32}$/));
+ assert.ok(litecoinAddress.match(/^[LM3][1-9a-km-zA-HJ-NP-Z]{25,32}$/));
});
});
diff --git a/test/random.unit.js b/test/random.unit.js
index b45d347d..a7c61bb2 100644
--- a/test/random.unit.js
+++ b/test/random.unit.js
@@ -34,7 +34,7 @@ describe("random.js", function () {
it('should return deterministic results when seeded with array - one element', function() {
faker.seed([10]);
var name = faker.name.findName();
- assert.strictEqual(name, 'Duane Kub');
+ assert.strictEqual(name, 'Duane Kshlerin');
});
it('should return deterministic results when seeded with array - multiple elements', function() {