File: test

package info (click to toggle)
node-picocolors 1.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 144 kB
  • sloc: javascript: 527; sh: 6; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 173 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e

# no interest in build-time
if [ -f package.json ]; then
	exit 0
fi

sed -i tests/*js -e "s|\.\./||g"
nodejs tests/environments.js && nodejs tests/test.js