mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-05-17 04:49:39 +03:00
fix ngx e2e test for ci
This commit is contained in:
@@ -35,7 +35,13 @@ module.exports = function (config) {
|
||||
colors: true,
|
||||
logLevel: config.LOG_INFO,
|
||||
autoWatch: true,
|
||||
browsers: ['Chrome'],
|
||||
browsers: ['Chrome', 'ChromeHeadless', 'ChromeHeadlessCI'],
|
||||
customLaunchers: {
|
||||
ChromeHeadlessCI: {
|
||||
base: 'ChromeHeadless',
|
||||
flags: ['--no-sandbox'],
|
||||
},
|
||||
},
|
||||
singleRun: false,
|
||||
restartOnFileChange: true,
|
||||
});
|
||||
|
||||
@@ -36,6 +36,6 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "ng build overlayscrollbars-ngx",
|
||||
"test": "ng test --watch=false --sourceMap=false --browsers=ChromeHeadless --code-coverage"
|
||||
"test": "ng test --watch=false --sourceMap=false --browsers=ChromeHeadlessCI --code-coverage"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { mount } from '@vue/test-utils';
|
||||
import OverlayScrollbarsComponent from '~/OverlayScrollbarsComponent.vue';
|
||||
import { OverlayScrollbarsComponent } from '~/overlayscrollbars-vue';
|
||||
|
||||
describe('OverlayScrollbarsComponent', () => {
|
||||
it('renders properly', () => {
|
||||
|
||||
Reference in New Issue
Block a user