Skip to content

Commit

Permalink
Merge branch 'daven-vitest' into david-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsklar99 committed Jul 1, 2024
2 parents ae2cf9b + 60ecc45 commit 33249a3
Show file tree
Hide file tree
Showing 4 changed files with 310 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ pnpFallbackMode: all
pnpMode: loose

yarnPath: .yarn/releases/yarn-4.2.2.cjs

packageExtensions:
debug@*:
dependencies:
supports-color: "*"

vite@*:
dependencies:
supports-color: "*"
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"dev:storybook": "yarn workspace @macrostrat/storybook run dev",
"start": "yarn run build && yarn run server",
"test": "vitest"
"start": "yarn run build && yarn run server",
"test": "vitest"
},
"workspaces": [
"deps/web-components/packages/*",
Expand All @@ -36,6 +38,7 @@
"@macrostrat/revision-info-webpack": "^1.0.0",
"@macrostrat/storybook": "workspace:*",
"@mdx-js/rollup": "^2.3.0",
"@types/esprima": "^4",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"@yarnpkg/sdks": "^3.1.0",
Expand Down Expand Up @@ -110,6 +113,7 @@
"d3-selection": "^1.0.0",
"d3-shape": "^3.2.0",
"esbuild": "^0.20.0",
"esprima": "^4.0.1",
"express": "^4.18.2",
"hex-to-css-filter": "^5.4.0",
"history": "^5.3.0",
Expand Down
8 changes: 8 additions & 0 deletions src/base.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/** Basic tests with Vitest */
import { test, expect } from "vitest";

test("should pass", () => {
expect(true).toBe(true);
});

// Load the URL of the main testing page
Loading

0 comments on commit 33249a3

Please sign in to comment.