From 3453d4ffd5295e426807098ab0caa05574d7b30d Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Tue, 15 Dec 2020 18:57:23 +0100 Subject: [PATCH] Fixed coding styles --- .github/workflows/ci.yml | 2 +- test/utils/dates/DateRangeSelector.test.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6b9e968..382d9ebb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: with: node-version: 14.15 - run: npm ci - - run: npm run mutate -- --mutate=$(git diff main --name-only | grep -E 'src\/(.*).(ts|tsx)$' | paste -sd ",") + - run: npm run mutate -- --mutate=$(git diff origin/main --name-only | grep -E 'src\/(.*).(ts|tsx)$' | paste -sd ",") build-docker-image: runs-on: ubuntu-latest diff --git a/test/utils/dates/DateRangeSelector.test.tsx b/test/utils/dates/DateRangeSelector.test.tsx index 0df6fa18..78a375c7 100644 --- a/test/utils/dates/DateRangeSelector.test.tsx +++ b/test/utils/dates/DateRangeSelector.test.tsx @@ -1,9 +1,9 @@ import { shallow, ShallowWrapper } from 'enzyme'; import { DropdownItem } from 'reactstrap'; import moment from 'moment'; +import { Mock } from 'ts-mockery'; import { DateRangeSelector, DateRangeSelectorProps } from '../../../src/utils/dates/DateRangeSelector'; import { DateInterval } from '../../../src/utils/dates/types'; -import { Mock } from 'ts-mockery'; describe('', () => { let wrapper: ShallowWrapper;