diff --git a/README.md b/README.md index 57852c0..2f6f13c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@

+ Coverage Status

@@ -15,7 +16,7 @@ ## Install ```bash -$ yarn add nestjs-braintree //not currently published +$ yarn add nestjs-braintree ``` ## Use diff --git a/src/__tests__/braintree.controller.spec.ts b/src/__tests__/braintree.controller.spec.ts index 56ef8e5..c5ce62b 100644 --- a/src/__tests__/braintree.controller.spec.ts +++ b/src/__tests__/braintree.controller.spec.ts @@ -52,10 +52,16 @@ describe('BraintreeWebhookController', async () => { expect(provider).toBeInstanceOf(SubscriptionProvider); }); - it('wehook controller instances',() => { - const braintreeWebhookController = module.get(BraintreeWebhookController); + it('wehook controller instances', () => { + const braintreeWebhookController = module.get( + BraintreeWebhookController, + ); - expect(braintreeWebhookController.braintree).toBeInstanceOf(BraintreeProvider); - expect(braintreeWebhookController.webhookProvider).toBeInstanceOf(BraintreeWebhookProvider); + expect(braintreeWebhookController.braintree).toBeInstanceOf( + BraintreeProvider, + ); + expect(braintreeWebhookController.webhookProvider).toBeInstanceOf( + BraintreeWebhookProvider, + ); }); });