gitmoji-cli: add version test

This commit is contained in:
Robert Schütz 2023-12-19 09:43:05 -08:00
parent 57358cd35a
commit 0b087331d1

View file

@ -6,6 +6,7 @@
, nodejs
, prefetch-yarn-deps
, yarn
, testers
}:
stdenv.mkDerivation (finalAttrs: {
@ -65,6 +66,12 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.tests = {
version = testers.testVersion {
package = finalAttrs.finalPackage;
};
};
meta = {
description = "Gitmoji client for using emojis on commit messages";
homepage = "https://github.com/carloscuesta/gitmoji-cli";