diff --git a/src/Tooltip/Tooltip.test.tsx b/src/Tooltip/__tests__/Tooltip.test.tsx similarity index 97% rename from src/Tooltip/Tooltip.test.tsx rename to src/Tooltip/__tests__/Tooltip.test.tsx index f68116f941b..f7eebff1c3f 100644 --- a/src/Tooltip/Tooltip.test.tsx +++ b/src/Tooltip/__tests__/Tooltip.test.tsx @@ -1,8 +1,8 @@ import React from 'react' -import {Tooltip, TooltipProps} from '.' -import {checkStoriesForAxeViolations, behavesAsComponent, checkExports} from '../utils/testing' +import {Tooltip, TooltipProps} from '..' +import {checkStoriesForAxeViolations, behavesAsComponent, checkExports} from '../../utils/testing' import {render as HTMLRender, act} from '@testing-library/react' -import {Button} from '../Button' +import {Button} from '../../Button' import {SearchIcon} from '@primer/octicons-react' import userEvent from '@testing-library/user-event' diff --git a/src/__tests__/Tooltip.types.test.tsx b/src/Tooltip/__tests__/Tooltip.types.test.tsx similarity index 87% rename from src/__tests__/Tooltip.types.test.tsx rename to src/Tooltip/__tests__/Tooltip.types.test.tsx index 7714238ff20..65d27666df2 100644 --- a/src/__tests__/Tooltip.types.test.tsx +++ b/src/Tooltip/__tests__/Tooltip.types.test.tsx @@ -1,5 +1,5 @@ import React from 'react' -import {Tooltip} from '../Tooltip' +import {Tooltip} from '..' export function shouldAcceptCallWithNoProps() { return diff --git a/src/Tooltip/__snapshots__/Tooltip.test.tsx.snap b/src/Tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap similarity index 97% rename from src/Tooltip/__snapshots__/Tooltip.test.tsx.snap rename to src/Tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap index f8679eb0a92..b44433c12a1 100644 --- a/src/Tooltip/__snapshots__/Tooltip.test.tsx.snap +++ b/src/Tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap @@ -16,7 +16,7 @@ exports[`Tooltip renders consistently 1`] = ` .c1 { border-radius: 6px; border: 1px solid; - border-color: rgba(27,31,36,0.15); + border-color: rgba(31,35,40,0.15); font-family: inherit; font-weight: 500; font-size: 14px; @@ -55,7 +55,7 @@ exports[`Tooltip renders consistently 1`] = ` transition-property: color,fill,background-color,border-color; color: #24292f; background-color: #f6f8fa; - box-shadow: 0 1px 0 rgba(27,31,36,0.04),inset 0 1px 0 rgba(255,255,255,0.25); + box-shadow: 0 1px 0 rgba(31,35,40,0.04),inset 0 1px 0 rgba(255,255,255,0.25); } .c1:focus:not(:disabled) { @@ -201,17 +201,17 @@ exports[`Tooltip renders consistently 1`] = ` .c1:hover:not([disabled]) { background-color: #f3f4f6; - border-color: rgba(27,31,36,0.15); + border-color: rgba(31,35,40,0.15); } .c1:active:not([disabled]) { background-color: hsla(220,14%,93%,1); - border-color: rgba(27,31,36,0.15); + border-color: rgba(31,35,40,0.15); } .c1[aria-expanded=true] { background-color: hsla(220,14%,93%,1); - border-color: rgba(27,31,36,0.15); + border-color: rgba(31,35,40,0.15); } .c3 { @@ -489,7 +489,7 @@ exports[`Tooltip renders consistently 1`] = ` onMouseLeave={[Function]} >