adamsoffer / adamsoffer/next-apollo

Question: Testing with next-apollo

Offen
#94 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
477
Forks
62
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hey there!

Amazing lib, really: great great job! 👏

I just have a question on how to write some tests with something like this ,to be honest I have no idea on how to eventually write tests on the pages. would you do this via integration / e2e tests instead?

I know I would do tests of the page just by passing the props and wrapping the apolli client maybe?

But I would have to export the page and then export defaulting the wrapped page?

Just curious.

Thank you!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.