test/spec/env/pkgs-spec.js
/**
 * Compare two files content
 * @param fileA
 * @param fileB
 * @returns true if equal, false otherwise
 */
Compare two files content
@param fileA
@param fileB
@returns true if equal, false otherwise
Compare two files content @param fileA @param fileB @returns true if equal false otherwise
function compareFiles(fileA, fileB) {
  const bufferA = fs.readFileSync(fileA);
  const bufferB = fs.readFileSync(fileB);
  return bufferA.equals(bufferB);
}
function compareFiles ( fileA , fileB ) { const bufferA = fs . readFileSync ( fileA ) ; const bufferB = fs . readFileSync ( fileB ) ; return bufferA . equals ( bufferB ) ; }
Compare two files content
 @param fileA
 @param fileB
 @returns true if equal, false otherwise
Compare two files content @param fileA @param fileB @returns true if equal false otherwise