flexysnap 0.1.1 → 0.1.2-alpha.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexysnap",
3
- "version": "0.1.1",
3
+ "version": "0.1.2-alpha.2",
4
4
  "description": "Flexible visual snapshot testing for Playwright, built for e-commerce.",
5
5
  "keywords": [
6
6
  "playwright",
package/src/testUtils.js CHANGED
@@ -153,7 +153,7 @@ async function fill(page, field, value) {
153
153
 
154
154
  }
155
155
 
156
- module.exports = {
156
+ export {
157
157
  waitForCompleteLoad,
158
158
  highlightedClick,
159
159
  click,
@@ -2,7 +2,7 @@ import fs from 'fs';
2
2
  import path from 'path';
3
3
  import { logTimestamp } from './testUtils.js';
4
4
  import sharp from 'sharp';
5
- import { areWireframesStable } from "./wireframeStability";
5
+ import { areWireframesStable } from './wireframeStability.js';
6
6
 
7
7
  async function getRGBHistogramFromBuffer(buffer) {
8
8
  const {data, info} = await sharp(buffer)