diff options
| author | Adam Walker <[email protected]> | 2021-05-19 23:03:07 -0400 |
|---|---|---|
| committer | Adam Walker <[email protected]> | 2021-05-19 23:03:07 -0400 |
| commit | 20751822c88470e5ee35d64bbe73ad9d00a54132 (patch) | |
| tree | e223b7ae73b902398fcca8d1733e0e813fb219ef | |
| parent | c0a172dc5d6308731fd879db2ffcddf4714370f5 (diff) | |
| download | faker-20751822c88470e5ee35d64bbe73ad9d00a54132.tar.xz faker-20751822c88470e5ee35d64bbe73ad9d00a54132.zip | |
Removed seed call from unit tests
| -rw-r--r-- | lib/index.js | 2 | ||||
| -rw-r--r-- | lib/locales/en/index.js | 2 | ||||
| -rw-r--r-- | test/word.unit.js | 1 |
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", |
