diff --git a/test/fixtures/css/package.json b/test/fixtures/css/package.json index 86ed1e3e..dcc579ec 100644 --- a/test/fixtures/css/package.json +++ b/test/fixtures/css/package.json @@ -17,6 +17,15 @@ "src": "src/style.css", "dest": "dist/", "concat": "style.css" + }, + { + "handler": "css", + "src": [ + "node_modules/bootstrap/dist/css/bootstrap-reboot.css", + "node_modules/bootstrap/dist/css/bootstrap-grid.css" + ], + "dest": "dist/", + "concat": "bootstrap-reboot-and-grid.css" } ] } diff --git a/test/functional/api/commands/build.test.ts b/test/functional/api/commands/build.test.ts index a27f4a72..43a77af0 100644 --- a/test/functional/api/commands/build.test.ts +++ b/test/functional/api/commands/build.test.ts @@ -234,11 +234,14 @@ describe('command: build', () => { expect(api.logger.info).toHaveBeenCalledWith('sass :: finished bundling "bootstrap-grid.css"'); expect(api.logger.info).toHaveBeenCalledWith('css :: start bundling "style.css"'); expect(api.logger.info).toHaveBeenCalledWith('css :: finished bundling "style.css"'); + expect(api.logger.info).toHaveBeenCalledWith('css :: start bundling "bootstrap-reboot-and-grid.css"'); + expect(api.logger.info).toHaveBeenCalledWith('css :: finished bundling "bootstrap-reboot-and-grid.css"'); expect(await readFile('src/bootstrap-grid.scss')).toMatchSnapshot('bootstrap-grid.scss after linting'); expect(await readFile('src/style.css')).toMatchSnapshot('style.css after linting'); expect(await fileExists('dist/bootstrap-grid.css')).toBeTruthy(); expect(await fileExists('dist/style.css')).toBeTruthy(); + expect(await fileExists('dist/bootstrap-reboot-and-grid.css')).toBeTruthy(); await cleanup(); }, 30000);