believer/movies-graphql-postgres

View on GitHub
lib/graphql/resolvers/queries/__tests__/__snapshots__/watches.spec.js.snap

Summary

Maintainability
Test Coverage
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`queries/watches should get watch stats for a user 1`] = `
"
      SELECT
        COUNT(distinct v.movie_id) AS total_views,
        COUNT(*) AS views_with_rewatches
      FROM views as v 
      WHERE v.user_id = 2
    "
`;