mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
0eefc228f2
commit
5303aae152
1 changed files with 6 additions and 3 deletions
|
@ -88,10 +88,13 @@ describe('creating the build', () => {
|
|||
const sassPath = 'public/styles.scss';
|
||||
const cssPath = resolve(PLUGIN_BUILD_TARGET, 'public/styles.css');
|
||||
|
||||
// set skipInstallDependencies to true for these tests
|
||||
beforeEach(() => (PLUGIN.styleSheetToCompile = sassPath));
|
||||
// set it back to false after
|
||||
beforeEach(() => {
|
||||
PLUGIN.skipInstallDependencies = true;
|
||||
PLUGIN.styleSheetToCompile = sassPath;
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
PLUGIN.skipInstallDependencies = false;
|
||||
PLUGIN.styleSheetToCompile = undefined;
|
||||
unlink(cssPath);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue