In a attempt to migrate my app to Meteor 1.3 i ran into problems using the fs package to use fs.createReadStream in my test code (server-only).
I tried to use:
import fs from ‘fs’; and
import * as fs from ‘fs’;
with and without meteor-node-stubs, but I got only a minimal fs-object with four functions:
fs: { existsSync: [Function: existsSync],
readdirSync: [Function: readdirSync],
statSync: [Function: statSync],
watchFile: [Function: watchFile]}
Can someone tell me what i am doing wrong?
Thanks in advance, m.