Skip to content

Commit

Permalink
Add random seed for time test
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Jun 11, 2020
1 parent 432a1ef commit f6229d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/time.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ if (typeof module !== 'undefined') {
var faker = require('../index');
}

faker.seed(1234);

describe("time.js", function () {
describe("recent()", function () {
it("returns the recent timestamp in Unix time format", function () {
Expand Down

0 comments on commit f6229d4

Please sign in to comment.