From a89be5d1f116e0906c2e2c025d44fba4155a8227 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Tue, 11 Aug 2026 08:09:53 +0300 Subject: [PATCH] test later-life portrait assets --- nix/tests/module.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/nix/tests/module.nix b/nix/tests/module.nix index fcd7b78..9f5dfd9 100644 --- a/nix/tests/module.nix +++ b/nix/tests/module.nix @@ -67,14 +67,26 @@ pkgs.runCommand "tide-module-test" { } '' test -f ${landingPage}/${stylesheetFileName} test ! -e ${landingPage}/styles.css test -f ${landingPage}/robots.txt - test -f ${landingPage}/assets/rav-hirsch-1847.jpg - test -f ${landingPage}/assets/rav-hirsch-1847.webp + test -f ${landingPage}/assets/rav-hirsch-later-life.jpg + test -f ${landingPage}/assets/rav-hirsch-later-life.webp + test -f ${landingPage}/assets/social-preview-hirsch-later-life.png + test ! -e ${landingPage}/assets/rav-hirsch-1847.jpg + test ! -e ${landingPage}/assets/rav-hirsch-1847.webp ${pkgs.diffutils}/bin/cmp \ ${../../site/styles.css} \ ${landingPage}/${stylesheetFileName} ${pkgs.gnugrep}/bin/grep -F \ 'href="/${stylesheetFileName}"' \ ${landingPage}/index.html + ${pkgs.gnugrep}/bin/grep -F \ + 'href="/assets/rav-hirsch-later-life.webp"' \ + ${landingPage}/index.html + ${pkgs.gnugrep}/bin/grep -F \ + 'src="/assets/rav-hirsch-later-life.jpg"' \ + ${landingPage}/index.html + ${pkgs.gnugrep}/bin/grep -F \ + 'assets/social-preview-hirsch-later-life.png' \ + ${landingPage}/index.html if ${pkgs.gnugrep}/bin/grep -F \ 'href="/styles.css"' \ ${landingPage}/index.html; then