mirror of
https://github.com/penpot/penpot.git
synced 2025-05-09 22:16:37 +02:00
feat: enable runnint test on travis
This commit is contained in:
parent
4da6ae0a74
commit
31766fde32
8 changed files with 79 additions and 105 deletions
7
frontend/scripts/build-and-run-tests.sh
Executable file
7
frontend/scripts/build-and-run-tests.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
source ~/.bashrc
|
||||
|
||||
npm install
|
||||
npm run build:test || exit 1;
|
||||
|
||||
node ./target/tests/main
|
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
source ~/.bashrc
|
||||
|
||||
npm install
|
||||
npm run build:main || exit 1;
|
||||
npm run build:view || exit 1;
|
||||
npm run build:worker || exit 1;
|
||||
|
||||
# TODO
|
||||
#node ./out/tests.js
|
Loading…
Add table
Add a link
Reference in a new issue