Update references

This commit is contained in:
Webber 2020-01-27 23:07:26 +01:00 committed by Webber Takken
parent 4051832dc0
commit d8896dc4f5
4 changed files with 22 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@ -14,9 +14,11 @@ class Cache {
return; return;
} }
console.log('Library folder does not exist.'); // eslint-disable-next-line no-console
console.log('Consider setting up caching to speed up your workflow.'); console.log(`
console.log('If this is not your first build.'); Library folder does not exist.
Consider setting up caching to speed up your workflow
If this is not your first build.`);
} }
} }

View File

@ -5,5 +5,7 @@ import Docker from './docker';
import Input from './input'; import Input from './input';
import ImageTag from './image-tag'; import ImageTag from './image-tag';
import Platform from './platform'; import Platform from './platform';
import Project from './project';
import Unity from './unity';
export { Action, BuildParameters, Cache, Docker, Input, ImageTag, Platform }; export { Action, BuildParameters, Cache, Docker, Input, ImageTag, Platform, Project, Unity };

View File

@ -1,10 +1,17 @@
import * as Index from '.'; import * as Index from '.';
describe('Index', () => { describe('Index', () => {
test.each(['Action', 'BuildParameters', 'Cache', 'Docker', 'Input', 'ImageTag', 'Platform'])( test.each([
'exports %s', 'Action',
exportedModule => { 'BuildParameters',
expect(typeof Index[exportedModule]).toStrictEqual('function'); 'Cache',
}, 'Docker',
); 'Input',
'ImageTag',
'Platform',
'Project',
'Unity',
])('exports %s', exportedModule => {
expect(typeof Index[exportedModule]).toStrictEqual('function');
});
}); });