Skip to content

Commit 5bd9152

Browse files
committed
minor #866 Add missing call to done() in the Stimulus functional test (Lyrkan)
This PR was merged into the main branch. Discussion ---------- Add missing call to done() in the Stimulus functional test One of the new tests is currently missing a call to `done()` which breaks the output of the next tests: ![image](https://user-images.githubusercontent.com/850046/101048113-aaa6a280-3582-11eb-8189-1267145f38b5.png) Commits ------- b287d77 Add missing call to done() in the Stimulus functional test
2 parents f7a6c6b + b287d77 commit 5bd9152

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/functional.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -2072,7 +2072,7 @@ module.exports = {
20722072
});
20732073
});
20742074

2075-
it('Symfony - Stimulus standard app is built correctly', () => {
2075+
it('Symfony - Stimulus standard app is built correctly', (done) => {
20762076
const appDir = testSetup.createTestAppDir();
20772077

20782078
const config = testSetup.createWebpackConfig(appDir, 'www/build', 'dev');
@@ -2097,6 +2097,8 @@ module.exports = {
20972097
webpackAssert.assertOutputFileContains('main.js', 'app-controller');
20982098
webpackAssert.assertOutputFileContains('main.js', 'mock-module-controller');
20992099
webpackAssert.assertOutputFileContains('main.css', 'body {}');
2100+
2101+
done();
21002102
});
21012103
});
21022104

0 commit comments

Comments
 (0)