We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53634f2 commit 3fd1bb7Copy full SHA for 3fd1bb7
1 file changed
public/stage5/tests.js
@@ -159,7 +159,10 @@ describe('ステージ5(意図通りに非同期処理を利用できる)',
159
160
161
return expect(mostPopularRepos).to.eventually.have.length(2)
162
- .and.satisfy(function(name) { return typeof name === 'string'; });
+ .and.satisfy(function(names) {
163
+ return typeof names[0] === 'string' &&
164
+ typeof names[1] === 'string';
165
+ });
166
167
// Github API に関する参考情報
168
// https://developer.github.com/v3/search
0 commit comments