Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 649c228

Browse files
authored
Merge pull request #134 from geotrev/js/util-update
Site Updates + Util refactor
2 parents 9271625 + a3e10c7 commit 649c228

File tree

67 files changed

+237
-1755
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+237
-1755
lines changed

app/assets/fonts/.gitkeep

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/components/Article/Article.spec.js renamed to app/components/Article/__tests__/Article.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react"
2-
import Article from "./Article"
2+
import Article from "../Article"
33

44
global.scrollTo = jest.fn()
55

app/components/Article/__snapshots__/Article.spec.js.snap renamed to app/components/Article/__tests__/__snapshots__/Article.spec.js.snap

File renamed without changes.

app/components/Button/Button.spec.js renamed to app/components/Button/__tests__/Button.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react"
2-
import Button from "./Button"
2+
import Button from "../Button"
33

44
describe("<Button />", () => {
55
it("matches snapshot", () => {

app/components/Button/__snapshots__/Button.spec.js.snap renamed to app/components/Button/__tests__/__snapshots__/Button.spec.js.snap

File renamed without changes.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export default function DocsRoutes() {
2323
<Route exact path={routes.downloadPath} component={getRoute("download")} />
2424
<Route exact path={routes.brandingPath} component={getRoute("branding")} />
2525
<Route exact path={routes.javascriptPath} component={getRoute("javascript")} />
26-
<Route exact path={routes.accessibilityPath} component={getRoute("accessibility")} />
2726
<Route exact path={routes.gridPath} component={getRoute("grid")} />
2827
<Route exact path={routes.typographyPath} component={getRoute("typography")} />
2928
<Route exact path={routes.buttonsPath} component={getRoute("buttons")} />

app/pages/Docs/DocsRoutes.spec.js renamed to app/components/DocsRoutes/__tests__/DocsRoutes.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react"
2-
import DocsRoutes from "./DocsRoutes"
32
import { BrowserRouter as Router } from "react-router-dom"
3+
import DocsRoutes from "../DocsRoutes"
44

55
function mountRoutes() {
66
return mount(

app/pages/Docs/__snapshots__/DocsRoutes.spec.js.snap renamed to app/components/DocsRoutes/__tests__/__snapshots__/DocsRoutes.spec.js.snap

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)