Skip to content

Commit 3085a4c

Browse files
committed
Update tests
1 parent e3ce051 commit 3085a4c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tests/e2e/src/main/npm/e2e/tests/project-without-analysis.e2e.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,24 +85,28 @@ describe('For project without any analysis', () => {
8585
it('should have EAP 7 selected', (done) => {
8686
analysisConfig.targets.EAP7.isSelected().then(selected => {
8787
expect(selected).toBeTruthy();
88+
done();
8889
});
8990
});
9091

91-
it('should not have cloud readiness selected', () => {
92+
it('should not have cloud readiness selected', (done) => {
9293
analysisConfig.enableCloudReadinessInput.isSelected().then(selected => {
9394
expect(selected).toBeFalsy();
95+
done();
9496
});
9597
});
9698

97-
it('should have all applications selected', () => {
99+
it('should have all applications selected', (done) => {
98100
analysisConfig.selectedApplications.count().then(count => {
99101
expect(count).toBe(1);
102+
done();
100103
});
101104
});
102105

103-
it('should not have any packages included', () => {
106+
it('should not have any packages included', (done) => {
104107
analysisConfig.includedPackages.count().then(count => {
105-
expect(count).toBe(1);
108+
expect(count).toBe(0);
109+
done();
106110
});
107111
});
108112

0 commit comments

Comments
 (0)