Skip to content

Commit

Permalink
Merge pull request #2075 from usablica/reactive
Browse files Browse the repository at this point in the history
Convert the library to use Signals and reactive elements
  • Loading branch information
binrysearch authored Sep 11, 2024
2 parents 7399d37 + 3158ec0 commit faef906
Show file tree
Hide file tree
Showing 104 changed files with 5,841 additions and 2,281 deletions.
3 changes: 2 additions & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import { defineConfig } from "cypress";
import { configureVisualRegression } from "cypress-visual-regression";

module.exports = defineConfig({
viewportWidth: 1000,
trashAssetsBeforeRuns: true,
env: {
failSilently: false,
visualRegressionFailSilently: false,
},
e2e: {
screenshotsFolder: "./cypress/snapshots/actual",
Expand Down
8 changes: 4 additions & 4 deletions cypress/setup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
crossorigin="anonymous"
/>

<link href="http://localhost:10001/dist/introjs.css" rel="stylesheet" />
<link href="http://host.docker.internal:10001/dist/introjs.css" rel="stylesheet" />

<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"
/>

<link href="http://localhost:10001/dist/introjs.css" rel="stylesheet" />
<link href="http://host.docker.internal:10001/dist/introjs.css" rel="stylesheet" />

<style type="text/css">
body,
h1,
Expand Down Expand Up @@ -157,7 +157,7 @@ <h2 data-intro="fourth header step" data-hint="secondary header">
class="pt-3 mt-4 text-muted border-top"
data-hint="this is the footer"
>
&copy; YEAR
&copy; 2021
</footer>
</div>
</main>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
1 change: 1 addition & 0 deletions cypress/support/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { addCompareSnapshotCommand } from "cypress-visual-regression/dist/comman

addCompareSnapshotCommand({
capture: "fullPage",
errorThreshold: 0.09
});

Cypress.Commands.add("nextStep", () => {
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"test:prettier": "prettier --check '(src|tests)/**/*.(js|ts|json|html)' '!tests/cypress/setup/dist'",
"test:watch": "jest --watch",
"test:jest": "jest --coverage --silent --ci --coverage --coverageReporters=\"text\" --coverageReporters=\"text-summary\"",
"test:cypress": "start-server-and-test dev http://localhost:10001/dist/intro.js 'docker run -it -v $PWD:/e2e -w /e2e --entrypoint=cypress cypress/included run --env type=regression || cypress run --env type=regression'",
"test:cypress": "start-server-and-test dev http://localhost:10001/dist/intro.js 'docker run -it -v $PWD:/e2e -w /e2e --entrypoint=cypress cypress/included run --env visualRegressionType=regression || cypress run --env visualRegressionType=regression'",
"release": "./bin/release.sh || true",
"prebuild": "rimraf ./dist",
"build": "rollup -c",
Expand All @@ -48,7 +48,7 @@
"core-js": "^3.6.5",
"cypress": "^13.12.0",
"cypress-real-events": "^1.13.0",
"cypress-visual-regression": "^5.0.2",
"cypress-visual-regression": "^5.2.1",
"eslint": "^8.0.1",
"jest": "^29.5.0",
"jest-extended": "^3.2.4",
Expand Down
Loading

0 comments on commit faef906

Please sign in to comment.