Skip to content

Commit

Permalink
run all examples in browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Apr 3, 2021
1 parent ffa3193 commit 5734bfd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/Browser.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,9 @@ jest.setTimeout(120 * 1000);

const puppeteer = require('puppeteer-core');
const Example = require('../examples/index');
const MatterBuild = require('../build/matter');
const { versionSatisfies } = require('../src/core/Plugin');
const fs = require('fs');

const examples = Object.keys(Example).filter(key => {
const buildVersion = MatterBuild.version;
const exampleFor = Example[key].for;
return versionSatisfies(buildVersion, exampleFor);
});
const examples = Object.keys(Example);

const browserPath = '/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome';
const demoPagePath = 'http://localhost:8000/';
Expand Down

0 comments on commit 5734bfd

Please sign in to comment.