Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
romgere committed Oct 19, 2023
1 parent 82f97c7 commit 0a12ce1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 23 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module.exports = {
{
files: [
'./.eslintrc.js',
'./.percy.js',
'./.prettierrc.js',
'./.stylelintrc.js',
'./.template-lintrc.js',
Expand Down
15 changes: 6 additions & 9 deletions .percy.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
module.exports = {
version: 2,
snapshot: {
widths: [
375,
1280
],
widths: [375, 1280],

minHeight: 1024,
percyCSS: '',
disableShadowDOM: false
disableShadowDOM: false,
},

discovery: {
allowedHostnames: [],
disallowedHostnames: [],
networkIdleTimeout: 100
networkIdleTimeout: 100,
},

upload: {
files: '**/*.{png,jpg,jpeg}',
ignore: '',
stripExtensions: false
}
}
stripExtensions: false,
},
};
14 changes: 0 additions & 14 deletions tests/acceptance/visual-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@ module('Acceptance | visual', function (hooks) {
mockFontManager(this.owner);
});

// const testIdx = 38;
// test(`visual test #${testIdx + 1}`, async function (assert) {
// const settings = new TextMakerSettings(testsSettings[testIdx]);
// const settingsQP = settings.serialize();
// // Load test settings through QP
// await visit(`/en-us/generator?modelSettings=${settingsQP}`);

// await percySnapshot(`visual test #${testIdx + 1}`);
// assert.true(true);
// await new Promise(function (resolve) {
// setTimeout(resolve, 5000);
// });
// });

for (let testIdx = 0; testIdx < testsSettings.length; testIdx++) {
test(`visual test #${testIdx + 1}`, async function (assert) {
const settings = new TextMakerSettings(testsSettings[testIdx]);
Expand Down

0 comments on commit 0a12ce1

Please sign in to comment.