Skip to content

Commit

Permalink
Fix browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kossnocorp committed Dec 2, 2023
1 parent eb7fb0f commit 11b81e8
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 88 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/browser_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
with:
node-version: 20
- run: npm install
- run: npx playwright install
- run: npx playwright install chromium
- uses: coactions/setup-xvfb@v1
with:
run: npx vitest run --browser
123 changes: 40 additions & 83 deletions package-lock.json

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

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2413,7 +2413,6 @@
"> 1%",
"IE 11"
],
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.10",
Expand All @@ -2424,7 +2423,7 @@
"@date-fns/docs": "0.25.0",
"@js-fns/docs": "^0.1.2",
"@octokit/core": "^3.2.5",
"@types/node": "^14.6.3",
"@types/node": "^20.10.2",
"@types/sinon": "^9.0.6",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
Expand Down Expand Up @@ -2454,7 +2453,7 @@
"moment": "^2.24.0",
"node-fetch": "^1.7.3",
"p-limit": "^3.1.0",
"playwright": "^1.39.0",
"playwright": "^1.40.1",
"prettier": "2",
"simple-git": "^2.35.2",
"sinon": "^7.4.1",
Expand Down
2 changes: 1 addition & 1 deletion src/Interval/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { toDate } from '..'
import toDate from '../toDate/index'
import type { Interval as IntervalInterface } from '../types'

/**
Expand Down

0 comments on commit 11b81e8

Please sign in to comment.