path -> paths

This commit is contained in:
Kevin Sawicki 2016-03-07 14:22:55 -08:00
parent 022c2c0d8c
commit 44376374b0

View file

@ -27,7 +27,7 @@ describe('nativeImage module', () => {
assert.equal(image.getSize().width, 538); assert.equal(image.getSize().width, 538);
}); });
it('loads images from path with `..` segments', () => { it('loads images from paths with `..` segments', () => {
const imagePath = `${path.join(__dirname, 'fixtures', 'api')}${path.sep}..${path.sep}${path.join('assets', 'logo.png')}`; const imagePath = `${path.join(__dirname, 'fixtures', 'api')}${path.sep}..${path.sep}${path.join('assets', 'logo.png')}`;
const image = nativeImage.createFromPath(imagePath); const image = nativeImage.createFromPath(imagePath);
assert(!image.isEmpty()); assert(!image.isEmpty());