Skip to content

Commit

Permalink
clean up some old code
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewiggins committed Aug 20, 2023
1 parent aec5029 commit c7d4247
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
10 changes: 0 additions & 10 deletions scripts/bundles/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,3 @@ App Page styles
align-items: baseline;
gap: 12px;
}

/*******************************
Mock Fetch Debugger styles
********************************/

mock-fetch-debugger {
display: block;
}
11 changes: 1 addition & 10 deletions tests/lib/mockFetchDebuggerTest.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand All @@ -8,15 +8,6 @@
<link href="../../dist/site-bundle.min.css" rel="stylesheet" />
</head>
<body>
<div><button id="new-request">Trigger new request</button></div>
<script src="../../dist/site.js" type="text/javascript"></script>
<script type="module">
let requestCounter = 0;

const newRequestBtn = document.getElementById("new-request");
newRequestBtn.addEventListener("click", () => {
window.mockFetch(`/test/${requestCounter++}`);
});
</script>
</body>
</html>

0 comments on commit c7d4247

Please sign in to comment.