File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
packages/bson-bench/test/unit Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,8 @@ describe('Task', function () {
215215 operation : 'deserialize' ,
216216 warmup : 1 ,
217217 iterations : 1 ,
218- options
218+ options,
219+ tags : [ 'test' , 'test2' ]
219220 } ) ;
220221
221222 task . result = {
@@ -231,6 +232,10 @@ describe('Task', function () {
231232 expect ( results . info ) . to . haveOwnProperty ( 'args' ) ;
232233 } ) ;
233234
235+ it ( 'returns the tags in the info.tags field' , function ( ) {
236+ expect ( results . info . tags ) . to . deep . equal ( [ 'test' , 'test2' ] ) ;
237+ } ) ;
238+
234239 it ( 'returns options provided in constructor in the info.args field' , function ( ) {
235240 expect ( results . info . args ) . to . haveOwnProperty ( 'warmup' ) ;
236241 expect ( results . info . args ) . to . haveOwnProperty ( 'iterations' ) ;
You can’t perform that action at this time.
0 commit comments