From 312baddcc1930c4d1e9604506127c6b9b7872d7f Mon Sep 17 00:00:00 2001 From: cauemarcondes Date: Tue, 24 Dec 2019 08:24:18 +0100 Subject: [PATCH] changing unit test --- .../components/shared/Summary/TransactionSummary.test.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x-pack/legacy/plugins/apm/public/components/shared/Summary/TransactionSummary.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Summary/TransactionSummary.test.tsx index 7ff230651d655..80ecea3cf9b33 100644 --- a/x-pack/legacy/plugins/apm/public/components/shared/Summary/TransactionSummary.test.tsx +++ b/x-pack/legacy/plugins/apm/public/components/shared/Summary/TransactionSummary.test.tsx @@ -7,12 +7,11 @@ import { shallow } from 'enzyme'; import React from 'react'; import { TransactionSummary } from './TransactionSummary'; -import { Transaction } from '../../../../typings/es_schemas/ui/Transaction'; import * as exampleTransactions from './__fixtures__/transactions'; describe('TransactionSummary', () => { describe('render', () => { - const transaction: Transaction = exampleTransactions.httpOk; + const transaction = exampleTransactions.httpOk; const props = { errorCount: 0, @@ -27,7 +26,7 @@ describe('TransactionSummary', () => { }); }); describe('renders RUM transaction without request info', () => { - const transaction: Transaction = exampleTransactions.httpRumOK; + const transaction = exampleTransactions.httpRumOK; const props = { errorCount: 0,