wtest 0.1.2

Tools for writing and running tests.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
  A map can be provided as a first argument whether to assign value or not
*/

console.log( '2_ImplementationWithObjectDesriptor.s' );

function objectSetFieldWithObjectDescriptor( objectDescriptor, field, value )
{
  if( objectDescriptor.skip === true )
  return;
  else
  objectDescriptor.src[ field ] = value;
}

module.exports = objectSetFieldWithObjectDescriptor;