Skip to content

Commit b8110ef

Browse files
authored
feat(tests): moved to vitest (#2253)
1 parent e75d1c3 commit b8110ef

File tree

755 files changed

+56273
-76091
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

755 files changed

+56273
-76091
lines changed

.DS_Store

-6 KB
Binary file not shown.

.browser-refresh-ignore

-6
This file was deleted.

.changeset/clean-radios-nail.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ebay/ebayui-core": minor
3+
---
4+
5+
tech-debt: swapped tests to vitest

.github/workflows/node.js.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
with:
3737
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
3838
- run: npm i
39+
- name: Install Playwright Browsers
40+
run: npx playwright install --with-deps
3941
- run: npm run build:ci
4042
env:
4143
BROWSERSTACK_USER: ${{ secrets.BROWSERSTACK_USERNAME }}
@@ -47,7 +49,7 @@ jobs:
4749
if: ${{ success() }}
4850
with:
4951
github-token: ${{ secrets.GITHUB_TOKEN }}
50-
path-to-lcov: .coverage/lcov.info
52+
path-to-lcov: coverage/lcov.info
5153
release:
5254
# Sets permissions of the GITHUB_TOKEN to allow opening release PR
5355
permissions:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ node_modules
33
.cache
44
static
55
snapshots
6+
coverage
67
.nyc_output
78
.coverage
89
.karma

.nycrc

-19
This file was deleted.

.storybook/main.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import fsp from "node:fs/promises";
22

3-
import { mergeConfig } from "vite";
4-
53
// This is done because lasso does not work with readme.md?raw
64
// Lasso is being used to run our browser tests with @marko/test
75
// If we get rid of lasso we should remove this code and switch all readmes to use ?raw
@@ -34,7 +32,12 @@ export default {
3432
autodocs: true,
3533
defaultName: "Documentation",
3634
},
35+
core: {
36+
disableTelemetry: true,
37+
disableWhatsNewNotifications: true,
38+
},
3739
async viteFinal(config: any) {
40+
const { mergeConfig } = await import("vite");
3841
return mergeConfig(config, {
3942
plugins: [rawMarkdown],
4043
});

.storybook/manager.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { addons } from "@storybook/addons";
1+
import { addons } from '@storybook/manager-api';
22
import theme from "./theme";
33

44
addons.setConfig({ theme });

.yarnrc

-3
This file was deleted.

karma.conf.js

-19
This file was deleted.

marketplace.json

-8
This file was deleted.

marko-cli.js

-61
This file was deleted.

0 commit comments

Comments
 (0)