Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
ParaEncode
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ParaEncode
Commits
58e2992e
Commit
58e2992e
authored
Apr 26, 2022
by
Linshizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Serve wasm.
parent
2fe2427f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
karma.conf.js
karma.conf.js
+6
-3
No files found.
karma.conf.js
View file @
58e2992e
...
...
@@ -26,8 +26,10 @@ module.exports = function(config) {
// list of files / patterns to load in the browser
files
:
[
"./tests/specs.js"
,
"./specs.js"
,
{
pattern
:
"src/mp4encoder.wasm"
,
included
:
false
,
served
:
true
},
{
pattern
:
'tmp/**/*.js'
,
included
:
false
,
served
:
true
},
{
pattern
:
'tmp/**/*.wasm'
,
included
:
false
,
served
:
true
},
{
pattern
:
'src/**/*.js'
,
included
:
false
,
served
:
true
},
],
...
...
@@ -36,6 +38,7 @@ module.exports = function(config) {
],
proxies
:
{
'/tmp/mp4encoder.wasm'
:
'/base/src/mp4encoder.wasm'
,
'/tmp'
:
'/base/tmp/'
,
'/src'
:
'/base/src/'
,
},
...
...
@@ -44,7 +47,7 @@ module.exports = function(config) {
// preprocess matching files before serving them to the browser
// available preprocessors: https://www.npmjs.com/search?q=keywords:karma-preprocessor
preprocessors
:
{
'./
tests/
specs.js'
:
[
'webpack'
],
'./specs.js'
:
[
'webpack'
],
},
webpack
:
webpackConfig
,
...
...
@@ -83,7 +86,7 @@ module.exports = function(config) {
// start these browsers
// available browser launchers: https://www.npmjs.com/search?q=keywords:karma-launcher
browsers
:
[
'ChromeHeadless'
],
//
browsers: ['ChromeHeadless'],
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment