Skip to content

Commit

Permalink
eslint_d: Add passthru.tests.version
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienCassou committed Oct 13, 2024
1 parent 7ac7bd1 commit e7c04b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/tools/eslint_d/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildNpmPackage, fetchFromGitHub }:
{ lib, buildNpmPackage, fetchFromGitHub, eslint_d, testers }:

buildNpmPackage rec {
pname = "eslint_d";
Expand All @@ -15,6 +15,8 @@ buildNpmPackage rec {

dontNpmBuild = true;

passthru.tests.version = testers.testVersion { package = eslint_d; version = src.rev; };

meta = with lib; {
description = "Makes eslint the fastest linter on the planet";
homepage = "https://github.com/mantoni/eslint_d.js";
Expand Down

0 comments on commit e7c04b2

Please sign in to comment.