mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
fix issue where Faker could choose the same word twice and fail the test
This commit is contained in:
parent
8a2a8e20fa
commit
d3e3a9adcf
1 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ define(function (require) {
|
|||
it('should persist global state', function () {
|
||||
var wordCount = _.random(3, 6);
|
||||
var globalStateSpy = sinon.spy(globalStateMock, 'writeToUrl');
|
||||
var urls = faker.Lorem.words(wordCount).map(function (url) {
|
||||
return '/' + url;
|
||||
var urls = faker.Lorem.words(wordCount).map(function (url, i) {
|
||||
return '/' + url + i;
|
||||
});
|
||||
|
||||
urls.forEach(function (url) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue