Primeiro commit do projeto Angular
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
const AsyncSimpleBench = require('./async')
|
||||
const SimpleBench = require('./simple')
|
||||
|
||||
module.exports = (suite, scope = 'simple') => {
|
||||
switch (scope) {
|
||||
case 'async':
|
||||
return AsyncSimpleBench(suite)
|
||||
case 'simple':
|
||||
return SimpleBench(suite)
|
||||
default:
|
||||
return SimpleBench(AsyncSimpleBench(suite))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user