aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Walker <[email protected]>2021-05-19 23:03:07 -0400
committerAdam Walker <[email protected]>2021-05-19 23:03:07 -0400
commit20751822c88470e5ee35d64bbe73ad9d00a54132 (patch)
treee223b7ae73b902398fcca8d1733e0e813fb219ef
parentc0a172dc5d6308731fd879db2ffcddf4714370f5 (diff)
downloadfaker-20751822c88470e5ee35d64bbe73ad9d00a54132.tar.xz
faker-20751822c88470e5ee35d64bbe73ad9d00a54132.zip
Removed seed call from unit tests
-rw-r--r--lib/index.js2
-rw-r--r--lib/locales/en/index.js2
-rw-r--r--test/word.unit.js1
3 files changed, 2 insertions, 3 deletions
diff --git a/lib/index.js b/lib/index.js
index ba56c77a..d601fed3 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -21,7 +21,7 @@
*
* @namespace faker
*/
- function Faker (opts) {
+function Faker (opts) {
var self = this;
diff --git a/lib/locales/en/index.js b/lib/locales/en/index.js
index ce1c316f..54877741 100644
--- a/lib/locales/en/index.js
+++ b/lib/locales/en/index.js
@@ -1,5 +1,5 @@
var en = {};
-module["exports"] = en;
+module['exports'] = en;
en.title = "English";
en.separator = " & ";
en.address = require("./address");
diff --git a/test/word.unit.js b/test/word.unit.js
index 9a0c53a5..f96ff334 100644
--- a/test/word.unit.js
+++ b/test/word.unit.js
@@ -4,7 +4,6 @@ if (typeof module !== "undefined") {
}
describe.only("word.js", function () {
- faker.seed(Math.random() * 100000000 + 1);
var methods = [
"adjective",
"adverb",