drizzle-team / drizzle-team/drizzle-orm

[DOCS]: Tests fail on main

Open
#4,033 0 comments 0 reactions 0 assignees View on GitHub
docs docs/undocumented
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Enhancement hasn't been filed before.

- [x] I have verified this enhancement I'm about to request hasn't been suggested before.

### Describe the enhancement you want to request

I have cloned the project and followed the steps in the CONTRIBUTING file including the installatioin of node, pnpm, and docker. then I tried running `pnpm test` inside the `integration-tests` directory but I get the following error:
```
FAIL tests/version.test.ts [ tests/version.test.ts ]
Error: Failed to load url drizzle-orm/version (resolved id: drizzle-orm/version) in /home/eyal/projects/drizzle-orm/integration-tests/tests/version.test.ts. Does the file exist?
❯ loadAndTransform ../node_modules/.pnpm/vite@5.3.3_@types+node@20.12.12_lightningcss@1.25.1_terser@5.31.0/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:52400:17
```
I get a similar error for every test. There must be something I need to configure to get this working but it is not in the CONTRIBUTING file. If anyone can tell me what it is it would be much appreciated and I will submit a pull request for the CONTRIBUTING file as well.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.