mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-18 19:30:37 +03:00
improve repo structure
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const { resolve } = require('path');
|
||||
const { defineConfig } = require('vitest/config');
|
||||
|
||||
module.exports = defineConfig({
|
||||
test: {
|
||||
setupFiles: resolve(__dirname, 'vitest.setup.js'),
|
||||
environment: 'jsdom',
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
import matchers from '@testing-library/jest-dom/matchers';
|
||||
import { expect } from 'vitest';
|
||||
|
||||
expect.extend(matchers);
|
||||
Reference in New Issue
Block a user