indentation
This commit is contained in:
parent
0ffa39e55b
commit
452363751c
|
@ -4,7 +4,7 @@ describe('Claim Create', () => {
|
|||
let newDate = new Date();
|
||||
let createdClaimFk;
|
||||
|
||||
afterAll(async() => {
|
||||
afterAll(async () => {
|
||||
await app.models.Claim.destroyById(createdClaimFk);
|
||||
});
|
||||
|
||||
|
@ -23,7 +23,7 @@ describe('Claim Create', () => {
|
|||
|
||||
let params = {claim: newClaim, sales: newSale};
|
||||
|
||||
it('should create a new claim', async() => {
|
||||
it('should create a new claim', async () => {
|
||||
let claim = await app.models.Claim.createFromSales(params);
|
||||
|
||||
expect(claim.ticketFk).toEqual(newClaim.ticketFk);
|
||||
|
@ -39,7 +39,7 @@ describe('Claim Create', () => {
|
|||
createdClaimFk = claim.id;
|
||||
});
|
||||
|
||||
it('should not be able to create a claim if exists that sale', async() => {
|
||||
it('should not be able to create a claim if exists that sale', async () => {
|
||||
let error;
|
||||
|
||||
await app.models.Claim.createFromSales(params)
|
||||
|
|
Loading…
Reference in New Issue