コード例 #1
0
 it('initialises the file output stream', () => {
   const expectedPath = './feed/corleone_family/tom_hagen_2016-04-20T13:58:51.084Z.json';
   assert.isDefined(stream.fileStream);
   assert.ok(fs.createWriteStream.calledWith(expectedPath));
 });