pelican/internal/board/helpers_test.go
Dan Anglin 571bce3a16
feat: move a card between statuses
Add a very simple interface to allow a user to move a
card from one status to another.
2023-04-26 08:32:33 +01:00

21 lines
321 B
Go

package board_test
import (
"fmt"
"os"
"path/filepath"
)
const (
success = "\u2713"
failure = "\u2717"
)
func projectRoot() (string, error) {
cwd, err := os.Getwd()
if err != nil {
return "", fmt.Errorf("unable to get the current working directory, %w", err)
}
return filepath.Join(cwd, "..", ".."), nil
}