Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dkonieczek committed Jul 11, 2024
1 parent 538a7d7 commit 0ad9815
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions packages/snap-preact/components/tests/cypress.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable */
const { defineConfig } = require('cypress');
const webpackConfig = require('../webpack.config');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { h } from 'preact';

import { RecommendationStore } from '@searchspring/snap-store-mobx';
import { UrlManager, QueryStringTranslator, reactLinker } from '@searchspring/snap-url-manager';
import { Tracker, BeaconType, BeaconCategory } from '@searchspring/snap-tracker';
import { Tracker } from '@searchspring/snap-tracker';
import { EventManager } from '@searchspring/snap-event-manager';
import { Profiler } from '@searchspring/snap-profiler';
import { Logger } from '@searchspring/snap-logger';
Expand Down Expand Up @@ -57,7 +57,7 @@ describe('Recommendation Component', async () => {
});

it('tracks as expected', () => {
const spy = cy.spy(controller.tracker.track, 'event').as('trackfn');
// const spy = cy.spy(controller.tracker.track, 'event').as('trackfn');

mount(
<Recommendation controller={controller}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ const controller = new RecommendationController(recommendConfig, {
tracker: new Tracker(globals, { mode: 'development' }),
});

const theme = {
components: {
variantSelection: {
className: 'classy',
},
},
};
// const theme = {
// components: {
// variantSelection: {
// className: 'classy',
// },
// },
// };

let selection;

Expand Down

0 comments on commit 0ad9815

Please sign in to comment.