@blankdotpage/cake 0.1.37 → 0.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,8 @@ export function createTestHarness(valueOrOptions) {
9
9
  ? { value: valueOrOptions }
10
10
  : valueOrOptions;
11
11
  const container = document.createElement("div");
12
- container.className = "cake";
12
+ // Keep `cake` for backwards-compat in tests, but the production scroller class is `cake-scroller`.
13
+ container.className = "cake cake-scroller";
13
14
  container.style.width = "400px";
14
15
  container.style.height = "200px";
15
16
  container.style.position = "absolute";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blankdotpage/cake",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -28,6 +28,7 @@
28
28
  "test": "vitest run",
29
29
  "test:browser": "vitest run --project browser",
30
30
  "test:browser:ios": "vitest run --project browser-ios",
31
+ "test:e2e": "playwright test",
31
32
  "typecheck": "tsc -p tsconfig.json --noEmit",
32
33
  "lint": "eslint .",
33
34
  "format": "prettier --write .",