Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

integrationtest typescript

it(`GIVEN vehicle id="${healthyVehicle.id}", WHEN getDamageState() is executed THEN the Promise will be resolved with false.`, async () => {
 
            const result = DamageService.getDamageState(healthyVehicle.id);
 
            await expect(result).to.be.eventually.false;
});
Source by www.novatec-gmbh.de #
 
PREVIOUS NEXT
Tagged: #integrationtest #typescript
ADD COMMENT
Topic
Name
1+1 =