-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5110199
commit be2ab18
Showing
4 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = { | ||
server: 'test/fixtures', | ||
open: false, | ||
online: false, | ||
minify: false, | ||
files: 'test/fixtures', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
describe('Watching folders', function() { | ||
context('files option', function () { | ||
beforeEach(function () { | ||
cy.visit(Cypress.env('BS_URL') + '/bower.html'); | ||
}); | ||
it('should reload single <link>', function () { | ||
cy.exec('touch test/fixtures/bower_components/app.css'); | ||
cy.get('[id="css-style"]').should($link => { | ||
const url = new URL($link.attr('href')); | ||
expect(url.search).to.contain('?browsersync='); | ||
}); | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters