mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 23:05:00 +00:00
chore: Add npm test benchmark script
This commit is contained in:
parent
4167743a34
commit
6b4982d75b
1 changed files with 12 additions and 0 deletions
12
benchmark/npm-test.sh
Executable file
12
benchmark/npm-test.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
# exit when any command fails
|
||||
set -e
|
||||
|
||||
# only do this if the files don't exist ai!
|
||||
ln -s /npm-install/node_modules /npm-install/package-lock.json .
|
||||
|
||||
|
||||
sed -i 's/\bxtest(/test(/g' *.spec.js
|
||||
npm run test
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue