Skip to content

Commit

Permalink
changing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed Dec 24, 2019
1 parent f2efdd6 commit 312badd
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 312badd

Please sign in to comment.