Skip to content

Commit 151b54c

Browse files
ci: debug erroring workflow
1 parent 28f6d3f commit 151b54c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/endpoint-posts/tests/integration/302-post-delete.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ test("Deletes post and redirects to posts page", async (t) => {
2020

2121
// Get post data by parsing list of posts and getting values from link
2222
const postsResponse = await request.get("/posts");
23+
t.log("postsResponse", postsResponse);
2324
const postsDom = new JSDOM(postsResponse.text);
2425
const postLink = postsDom.window.document.querySelector(".card a");
2526
const postId = postLink.href.split("/").pop();
27+
t.log("postId", postId);
2628

2729
// Delete post
2830
const result = await request.post(`/posts/${postId}/delete`);

0 commit comments

Comments
 (0)