Skip to content

Commit

Permalink
chore: esm CI debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mabels committed Jan 13, 2025
1 parent 14f611a commit dd72a98
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
**/pnpm-lock.yaml
scripts/
**/.esm-cache/**
**/dist/**
**/coverage/**
3 changes: 3 additions & 0 deletions smoke/esm/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { expect, it, vi } from "vitest";
it("esm.sh", async () => {
const script = document.createElement("script");
console.log("window", window.FP_VERSION);

Check warning on line 6 in smoke/esm/src/index.test.ts

View workflow job for this annotation

GitHub Actions / Quality Checks

Unexpected console statement
const res = await fetch(`http://localhost:4874/@fireproof/core@${window.FP_VERSION}?no-dts`);
console.log("window-res", await res.text());

Check warning on line 8 in smoke/esm/src/index.test.ts

View workflow job for this annotation

GitHub Actions / Quality Checks

Unexpected console statement

script.textContent = `
import { fireproof } from 'http://localhost:4874/@fireproof/core@${window.FP_VERSION}?no-dts'
Expand Down
5 changes: 3 additions & 2 deletions tests/www/todo.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@

let compactor = "🚗";
function drawInfo() {
document.querySelector("#carLog").innerText =
` ⏰ ${db._crdt.clock.head.length} ${compactor} ${cx.loader.carLog.length} 📩 ${1}`;
document.querySelector("#carLog").innerText = ` ⏰ ${db._crdt.clock.head.length} ${compactor} ${
cx.loader.carLog.length
} 📩 ${1}`;
}
const doRedraw = async () => {
drawInfo();
Expand Down

0 comments on commit dd72a98

Please sign in to comment.