LCOV - code coverage report
Current view: top level - src/utils/deeplink.js - deeplink.js (source / functions) Hit Total Coverage
Test: changed-lcov.info Lines: 8 8 100.0 %
Date: 2025-11-22 00:01:26 Functions: 1 1 100.0 %

          Line data    Source code
       1           1 : // melodex-front-end/src/utils/deeplink.js
       2           1 : export function buildDeepLink(playlistId, webUrl) {
       3           8 :   // Spotify mobile app URIs typically open via https links; provide a single web fallback.
       4           8 :   return {
       5           8 :     app: webUrl || `https://open.spotify.com/playlist/${playlistId}`,
       6           8 :     web: webUrl || `https://open.spotify.com/playlist/${playlistId}`,
       7           8 :   };
       8           8 : }

Generated by: LCOV version 1.15.alpha0w