Skip to content

Commit

Permalink
Merge pull request #27 from wix-incubator/vladta/update-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
vltansky authored Jul 11, 2024
2 parents e29e243 + fab5aa2 commit 4c77d20
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ package-lock.json
test/src/*.js

.idea/
test/e2e/screenshots/*.png
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
registry="https://registry.npmjs.org/"
legacy-peer-deps=true
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,19 @@
},
"homepage": "https://wix-incubator.github.io/kampos/",
"devDependencies": {
"@babel/core": "^7.21.3",
"ava": "^5.2.0",
"documentation": "^14.0.1",
"@babel/core": "^7.24.7",
"ava": "^6.1.3",
"documentation": "^14.0.3",
"finalhandler": "^1.2.0",
"get-port": "^6.1.2",
"node-canvas-webgl": "^0.2.7",
"gl": "^6.0.2",
"node-canvas-webgl": "^0.3.0",
"npm-check": "^6.0.1",
"pify": "^6.1.0",
"pixelmatch": "^5.3.0",
"pngjs": "^7.0.0",
"puppeteer": "^19.8.0",
"rollup": "^3.20.2",
"puppeteer": "^22.10.0",
"rollup": "^4.18.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-progress": "^1.1.2",
Expand Down
6 changes: 2 additions & 4 deletions test/e2e/context-restore.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ const PROJECT_PATH = path.resolve(__dirname, '../..');
const SIMPLE_VIDEO_CANVAS_DIMS = {width: 854, height: 480};
const SIMPLE_VIDEO_DIMS = {width: 854, height: 480};
const VIDEO_URL_PREFIX = '/test/e2e/';
const SIMPLE_VIDEO_URL = `${VIDEO_URL_PREFIX}e2e-video.ogg`;
const SIMPLE_VIDEO_URL = `${VIDEO_URL_PREFIX}e2e-video.webm`;

let server;
let browser;
let pageUrl;

async function createBrowser () {
browser = await puppeteer.launch({
headless: false
});
browser = await puppeteer.launch();
}

async function setPage (t) {
Expand Down
Binary file removed test/e2e/e2e-video.ogg
Binary file not shown.
Binary file added test/e2e/e2e-video.webm
Binary file not shown.
2 changes: 1 addition & 1 deletion test/e2e/video-effects.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const SIMPLE_VIDEO_DIMS = {width: 854, height: 480};
const SIMPLE_VIDEO_CANVAS_POS = {x: 0, y: 484};
const IMAGE_CANVAS_POS = {x: 0, y: 480};
const VIDEO_URL_PREFIX = '/test/e2e/';
const SIMPLE_VIDEO_URL = `${VIDEO_URL_PREFIX}e2e-video.ogg`;
const SIMPLE_VIDEO_URL = `${VIDEO_URL_PREFIX}e2e-video.webm`;
const IMAGE_URL = `${VIDEO_URL_PREFIX}e2e-image.png`;

let server;
Expand Down

0 comments on commit 4c77d20

Please sign in to comment.