Skip to content

Commit 5e3648a

Browse files
committed
test: check that correct events are emitted
1 parent 6205239 commit 5e3648a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/apps/api/test/projects/cost-surfaces/project-cost-surface.e2e-spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ describe('Cost Surface', () => {
174174

175175
// ASSERT
176176
await fixtures.ThenCostSurfaceAPIEntityWasProperlySaved(costSurfaceName);
177+
await fixtures.ThenCostSurfaceUploadEventsShouldReflectThatProjectCostSurfaceUploadWasSuccessful(costSurfaceName);
177178
});
178179

179180
it(`should return error when the cost surface name is empty`, async () => {
@@ -211,6 +212,7 @@ describe('Cost Surface', () => {
211212

212213
// ASSERT
213214
await fixtures.ThenCostSurfaceAPIEntityWasProperlySaved(costSurfaceName);
215+
await fixtures.ThenCostSurfaceUploadEventsShouldReflectThatProjectCostSurfaceUploadWasSuccessful(costSurfaceName);
214216
});
215217

216218
it(`should return error when the cost surface could not be found`, async () => {

0 commit comments

Comments
 (0)