Skip to content

Commit

Permalink
chore: improve file and directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
luckasnix committed Aug 6, 2024
1 parent 9ac5c8c commit 1cc0c4c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Structured Objects is lightweight and powerful library for handling object in Ja

## Resources

- [Object Graph](./docs/object-graph.md)
- [Object Graph](./docs/object-graph.doc.md)
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 8 additions & 2 deletions src/object-graph/index.test.ts → tests/object-graph.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import { expect, describe, test, vi } from "vitest";

import { ObjectGraph } from ".";
import { shirtsMock, extraShirtsMock, type Shirt, type Color, type Size } from "./index.mock";
import { ObjectGraph } from "../src/object-graph";
import {
shirtsMock,
extraShirtsMock,
type Shirt,
type Color,
type Size,
} from "../mocks/object-graph.mock";

describe("length", () => {
test("get the length of the object graph", () => {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src"]
"include": ["src", "mocks", "tests"]
}

0 comments on commit 1cc0c4c

Please sign in to comment.