Closed luxedo closed 8 years ago
yo polymer:el
yo polymer:element
The elements.html file was being created inside
before(function (done) { helpers.run(path.join(__dirname, '../app'))
but was deleted inside:
it('creates expected files', function () { var expected = [ 'app/elements/my-foo/my-foo.html' ]; assert.file(expected); });
raising the new error in el/index.js
el/index.js
To address the issue, instead of creating the /app data using the helper, I suggest to create a dummy elements.html file just before the tests begin
/app
elements.html
.on('ready', function(generator){ fs.createFileSync(path.join(__dirname, './tmp/app/elements/elements.html')); })
yo polymer:el
outside a PSK rootyo polymer:element
by creating a symbolic linkyo polymer:el
The elements.html file was being created inside
but was deleted inside:
raising the new error in
el/index.js
To address the issue, instead of creating the
/app
data using the helper, I suggest to create a dummyelements.html
file just before the tests begin