Skip to content

Commit e7c04b2

Browse files
committed
eslint_d: Add passthru.tests.version
1 parent 7ac7bd1 commit e7c04b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkgs/development/tools/eslint_d/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ lib, buildNpmPackage, fetchFromGitHub }:
1+
{ lib, buildNpmPackage, fetchFromGitHub, eslint_d, testers }:
22

33
buildNpmPackage rec {
44
pname = "eslint_d";
@@ -15,6 +15,8 @@ buildNpmPackage rec {
1515

1616
dontNpmBuild = true;
1717

18+
passthru.tests.version = testers.testVersion { package = eslint_d; version = src.rev; };
19+
1820
meta = with lib; {
1921
description = "Makes eslint the fastest linter on the planet";
2022
homepage = "https://github.com/mantoni/eslint_d.js";

0 commit comments

Comments
 (0)