mirror of
https://github.com/glimpse-app/server.git
synced 2025-04-02 10:52:45 -04:00
11 lines
266 B
Nim
11 lines
266 B
Nim
import std/[unittest, os, osproc]
|
|
|
|
test "Run tests":
|
|
copyFile("./tests/image.png", "./image.png")
|
|
copyFile("./tests/image2.jpg", "./image2.jpg")
|
|
|
|
if execCmd("bash -c ./tests/test_1.sh") > 0:
|
|
fail()
|
|
|
|
removeFile("./image.png")
|
|
removeFile("./image2.jpg")
|