diff --git a/packages/components/package.json b/packages/components/package.json index a2399b7b0..7aceeeccb 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -22,12 +22,12 @@ "version": "./scripts/VERSION.sh" }, "dependencies": { + "@standardnotes/features": "workspace:*", "@standardnotes/styles": "workspace:*" }, "devDependencies": { "@standardnotes/deterministic-zip": "^1.2.0", "@standardnotes/eslint-config-extensions": "^1.0.4", - "@standardnotes/features": "workspace:*", "copy-webpack-plugin": "^11.0.0", "mini-css-extract-plugin": "^2.6.0", "minimatch": "^5.1.0", diff --git a/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/features/tasks/TaskGroup.test.tsx b/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/features/tasks/TaskGroup.test.tsx index 7a9ca70ac..802362f3f 100644 --- a/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/features/tasks/TaskGroup.test.tsx +++ b/packages/components/src/Packages/Editors/org.standardnotes.advanced-checklist/src/features/tasks/TaskGroup.test.tsx @@ -98,29 +98,3 @@ it('hides group options if can not edit', () => { expect(screen.queryByTestId('task-group-options')).not.toBeInTheDocument() }) - -it('shows a reorder icon when on mobile', () => { - let defaultState: Partial = { - settings: { - canEdit: false, - isRunningOnMobile: true, - spellCheckerEnabled: true, - }, - } - - testRender(, {}, defaultState) - - expect(screen.queryByTestId('reorder-icon')).not.toBeInTheDocument() - - defaultState = { - settings: { - canEdit: true, - isRunningOnMobile: true, - spellCheckerEnabled: true, - }, - } - - testRender(, {}, defaultState) - - expect(screen.getByTestId('reorder-icon')).toBeInTheDocument() -})