Skip to content

Commit

Permalink
chore (examples): Simplify vitest config. (#4094)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaper authored Dec 14, 2024
1 parent ed37cd3 commit b9cba49
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
2 changes: 0 additions & 2 deletions examples/ai-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ There are a set of end-to-end provider integration tests under `src/e2e`. These

The intent is to allow an easy way for an AI SDK developer to smoke-test provider support for a set of common features. Test filtering can allow slicing to a subset of tests. Most of the test cases in these end-to-end tests are also represented in some form as basic example scripts in the appropriate sub-directory of the `src` directory.

The tests run with the `vitest.node.config.js` configuration.

```sh
pnpm run test:e2e:all
```
Expand Down
4 changes: 2 additions & 2 deletions examples/ai-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"@google/generative-ai": "0.21.0"
},
"scripts": {
"test:e2e:all": "vitest run src/e2e/*.test.ts --config vitest.node.config.js",
"test:file": "vitest run --config vitest.node.config.js",
"test:e2e:all": "vitest run src/e2e/*.test.ts",
"test:file": "vitest run",
"type-check": "tsc --noEmit"
},
"devDependencies": {
Expand Down
File renamed without changes.
10 changes: 0 additions & 10 deletions examples/ai-core/vitest.edge.config.js

This file was deleted.

0 comments on commit b9cba49

Please sign in to comment.