.tape.js
function readFile(file) {
	return new Promise(
		(resolve, reject) => {
			fs.readFile(
				file, 'utf8', (error, contents) => {
					if (error) {
						reject(error);
					} else {
						// console.log('readFile', [file, contents]);
						resolve(contents);
					}
				}
			)
		}
	);
}
function readFile(file) {
	return new Promise(
		(resolve, reject) => {
			fs.readFile(
				file, 'utf8', (error, contents) => {
					if (error) {
						reject(error);
					} else {
						// console.log('readFile', [file, contents]);
						resolve(contents);
					}
				}
			)
		}
	);
}
function readFile ( file ) { return new Promise ( ( resolve , reject ) => { fs . readFile ( file , 'utf8' , ( error , contents ) => { if ( error ) { reject ( error ) ; } else { // console.log('readFile', [file, contents]); resolve ( contents ) ; } } ) } ) ; }
promises the contents of a file
promises the contents of a file