Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nmaas Portal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nmaas
nmaas Portal
Commits
c9206c18
Commit
c9206c18
authored
4 years ago
by
wtaisner@man.poznan.pl
Browse files
Options
Downloads
Patches
Plain Diff
update karma, remove some redundant packages
parent
0fb989cd
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
karma.conf.js
+44
-48
44 additions, 48 deletions
karma.conf.js
package-lock.json
+1094
-4028
1094 additions, 4028 deletions
package-lock.json
package.json
+2
-7
2 additions, 7 deletions
package.json
with
1140 additions
and
4083 deletions
karma.conf.js
+
44
−
48
View file @
c9206c18
...
@@ -3,53 +3,49 @@ process.env.CHROME_BIN = puppeteer.executablePath();
...
@@ -3,53 +3,49 @@ process.env.CHROME_BIN = puppeteer.executablePath();
module
.
exports
=
function
(
config
)
{
module
.
exports
=
function
(
config
)
{
config
.
set
({
config
.
set
({
basePath
:
''
,
basePath
:
''
,
frameworks
:
[
'
jasmine
'
,
'
@angular-devkit/build-angular
'
],
frameworks
:
[
'
jasmine
'
,
'
@angular-devkit/build-angular
'
],
plugins
:
[
plugins
:
[
require
(
'
karma-jasmine
'
),
require
(
'
karma-jasmine
'
),
require
(
'
karma-babel-preprocessor
'
),
require
(
'
karma-coverage
'
),
require
(
'
karma-chrome-launcher
'
),
require
(
'
karma-chrome-launcher
'
),
require
(
'
karma-webpack
'
),
require
(
'
karma-jasmine-html-reporter
'
),
require
(
'
karma-jasmine-html-reporter
'
),
require
(
'
@angular-devkit/build-angular/plugins/karma
'
),
require
(
'
karma-coverage-istanbul-reporter
'
),
],
require
(
'
@angular-devkit/build-angular/plugins/karma
'
),
customLaunchers
:
{
],
ChromeHeadless
:
{
customLaunchers
:
{
base
:
'
Chrome
'
,
ChromeHeadless
:
{
flags
:
[
base
:
'
Chrome
'
,
'
--headless
'
,
flags
:
[
'
--disable-gpu
'
,
'
--headless
'
,
// Without a remote debugging port, Google Chrome exits immediately.
'
--disable-gpu
'
,
'
--remote-debugging-port=9222
'
,
// Without a remote debugging port, Google Chrome exits immediately.
],
'
--remote-debugging-port=9222
'
,
}
],
},
}
client
:
{
},
clearContext
:
false
client
:{
},
clearContext
:
false
files
:
[],
},
preprocessors
:
{},
files
:
[
mime
:
{
'
text/x-typescript
'
:
[
'
ts
'
,
'
tsx
'
]
],
},
preprocessors
:
{},
coverageReporter
:
{
mime
:
{
dir
:
'
coverage
'
,
'
text/x-typescript
'
:
[
'
ts
'
,
'
tsx
'
]
reporters
:
[
},
{
type
:
'
html
'
,
subdir
:
'
.
'
},
coverageIstanbulReporter
:
{
{
type
:
'
lcovonly
'
,
subdir
:
'
.
'
,
file
:
'
lcov.info
'
},
dir
:
require
(
'
path
'
).
join
(
__dirname
,
'
coverage
'
),
reports
:
[
'
html
'
,
'
lcovonly
'
],
]
fixWebpackSourcePaths
:
true
,
},
thresholds
:
{
statements
:
30
reporters
:
[
'
progress
'
],
}
port
:
9876
,
},
colors
:
true
,
logLevel
:
config
.
LOG_WARN
,
reporters
:
[
'
progress
'
],
autoWatch
:
false
,
port
:
9876
,
browsers
:
[
'
Chrome
'
,
'
ChromeHeadless
'
],
colors
:
true
,
singleRun
:
false
logLevel
:
config
.
LOG_WARN
,
}
autoWatch
:
false
,
browsers
:
[
'
Chrome
'
,
'
ChromeHeadless
'
],
singleRun
:
false
}
);
);
};
};
This diff is collapsed.
Click to expand it.
package-lock.json
+
1094
−
4028
View file @
c9206c18
Source diff could not be displayed: it is too large. Options to address this:
view the blob
.
This diff is collapsed.
Click to expand it.
package.json
+
2
−
7
View file @
c9206c18
...
@@ -54,23 +54,18 @@
...
@@ -54,23 +54,18 @@
"
@angular-devkit/build-angular
"
:
"
~0.1102.13
"
,
"
@angular-devkit/build-angular
"
:
"
~0.1102.13
"
,
"
@angular/cli
"
:
"
^11.2.13
"
,
"
@angular/cli
"
:
"
^11.2.13
"
,
"
@angular/compiler-cli
"
:
"
^11.2.14
"
,
"
@angular/compiler-cli
"
:
"
^11.2.14
"
,
"
@babel/core
"
:
"
^7.14.3
"
,
"
@babel/preset-env
"
:
"
^7.14.2
"
,
"
@types/jasmine
"
:
"
~3.6.0
"
,
"
@types/jasmine
"
:
"
~3.6.0
"
,
"
@types/node
"
:
"
^12.20.13
"
,
"
@types/node
"
:
"
^12.20.13
"
,
"
babel-preset-env
"
:
"
^1.7.0
"
,
"
codelyzer
"
:
"
^6.0.0
"
,
"
codelyzer
"
:
"
^6.0.0
"
,
"
intl
"
:
"
^1.2.5
"
,
"
intl
"
:
"
^1.2.5
"
,
"
jasmine-core
"
:
"
~3.6.0
"
,
"
jasmine-core
"
:
"
~3.6.0
"
,
"
jasmine-spec-reporter
"
:
"
~5.0.0
"
,
"
jasmine-spec-reporter
"
:
"
~5.0.0
"
,
"
karma
"
:
"
~6.3.2
"
,
"
karma
"
:
"
^6.3.2
"
,
"
karma-babel-preprocessor
"
:
"
^8.0.1
"
,
"
karma-chrome-launcher
"
:
"
~3.1.0
"
,
"
karma-chrome-launcher
"
:
"
~3.1.0
"
,
"
karma-cli
"
:
"
^1.0.1
"
,
"
karma-cli
"
:
"
^1.0.1
"
,
"
karma-coverage
-istanbul-reporter
"
:
"
~3
.0.
2
"
,
"
karma-coverage
"
:
"
^2
.0.
3
"
,
"
karma-jasmine
"
:
"
~4.0.0
"
,
"
karma-jasmine
"
:
"
~4.0.0
"
,
"
karma-jasmine-html-reporter
"
:
"
^1.5.0
"
,
"
karma-jasmine-html-reporter
"
:
"
^1.5.0
"
,
"
karma-remap-istanbul
"
:
"
^0.6.0
"
,
"
karma-webpack
"
:
"
^4.0.2
"
,
"
karma-webpack
"
:
"
^4.0.2
"
,
"
protractor
"
:
"
~7.0.0
"
,
"
protractor
"
:
"
~7.0.0
"
,
"
puppeteer
"
:
"
^1.20.0
"
,
"
puppeteer
"
:
"
^1.20.0
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment