Skip to content

Commit

Permalink
fixing intentionally broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zetlen committed Aug 6, 2018
1 parent 56c9dbf commit 804cb5f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions packages/peregrine/src/Peregrine/Peregrine.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { Provider as ReduxProvider } from 'react-redux';
import createStore from '../store';
import MagentoRouter from '../Router';

var loaf;

/**
*
* @param {string} apiBase Absolute URL pointing to the GraphQL endpoint
Expand Down
2 changes: 1 addition & 1 deletion packages/peregrine/src/Price/__tests__/Price.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ configure({ adapter: new Adapter() });

if (!global.Intl.NumberFormat.prototype.formatToParts) {
global.Intl = IntlPolyfill;
// require('intl/locale-data/jsonp/en.js');
require('intl/locale-data/jsonp/en.js');
}

test('Renders a USD price', () => {
Expand Down
3 changes: 0 additions & 3 deletions packages/venia-concept/src/components/MiniCart/miniCart.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class MiniCart extends Component {
};

constructor(...args) {

super(...args);
}

Expand All @@ -50,8 +49,6 @@ class MiniCart extends Component {
Checkout = CheckoutComponent;
store.addReducer('checkout', checkoutReducer);
store.addReducer('cart', await makeCartReducer());
const blojf;
blojf = 'kajsb';
this.props.getCartDetails({
guestCartId: store.getState().cart.guestCartId
});
Expand Down

0 comments on commit 804cb5f

Please sign in to comment.