Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Store
Commits
ea70d3a8
Commit
ea70d3a8
authored
Sep 25, 2016
by
Ward Bell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update for "angular-in-memory-web-api" & latest testing setup
parent
607adf63
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
20 deletions
+27
-20
karma-test-shim.js
karma-test-shim.js
+1
-1
karma.conf.js
karma.conf.js
+4
-2
package.json
package.json
+17
-13
systemjs.config.js
systemjs.config.js
+4
-3
wallaby.js
wallaby.js
+1
-1
No files found.
karma-test-shim.js
View file @
ea70d3a8
...
...
@@ -56,7 +56,7 @@ function importSystemJsExtras(){
return
System
.
import
(
'
systemjs.config.extras.js
'
)
.
catch
(
function
(
reason
)
{
console
.
log
(
'
W
ARNING: System.import could not load "systemjs.config.extras.js"; c
ontinuing without it.
'
'
W
arning: System.import could not load the optional "systemjs.config.extras.js". Did you omit it by accident? C
ontinuing without it.
'
);
console
.
log
(
reason
);
});
...
...
karma.conf.js
View file @
ea70d3a8
...
...
@@ -14,7 +14,8 @@ module.exports = function(config) {
plugins
:
[
require
(
'
karma-jasmine
'
),
require
(
'
karma-chrome-launcher
'
),
require
(
'
karma-htmlfile-reporter
'
)
require
(
'
karma-jasmine-html-reporter
'
),
// click "Debug" in browser to see it
require
(
'
karma-htmlfile-reporter
'
)
// crashing w/ strange socket error
],
customLaunchers
:
{
...
...
@@ -80,7 +81,8 @@ module.exports = function(config) {
exclude
:
[],
preprocessors
:
{},
reporters
:
[
'
progress
'
,
'
html
'
],
// disabled HtmlReporter; suddenly crashing w/ strange socket error
reporters
:
[
'
progress
'
,
'
kjhtml
'
],
//'html'],
// HtmlReporter configuration
htmlReporter
:
{
...
...
package.json
View file @
ea70d3a8
...
...
@@ -32,31 +32,35 @@
"
@angular/router
"
:
"
3.0.0
"
,
"
@angular/upgrade
"
:
"
2.0.0
"
,
"
systemjs
"
:
"
0.19.
27
"
,
"
systemjs
"
:
"
0.19.
38
"
,
"
core-js
"
:
"
^2.4.1
"
,
"
reflect-metadata
"
:
"
^0.1.3
"
,
"
rxjs
"
:
"
5.0.0-beta.12
"
,
"
zone.js
"
:
"
^0.6.23
"
,
"
angular
2-in-memory-web-api
"
:
"
0.0.2
0
"
,
"
angular
-in-memory-web-api
"
:
"
~0.1.
0
"
,
"
bootstrap
"
:
"
^3.3.6
"
},
"devDependencies"
:
{
"
concurrently
"
:
"
^2.2.0
"
,
"
lite-server
"
:
"
^2.2.
0
"
,
"
typescript
"
:
"
^2.0.
2
"
,
"
typings
"
:
"
^1.
0.4
"
,
"
lite-server
"
:
"
^2.2.
2
"
,
"
typescript
"
:
"
^2.0.
3
"
,
"
typings
"
:
"
^1.
4.0
"
,
"
canonical-path
"
:
"
0.0.2
"
,
"
http-server
"
:
"
^0.9.0
"
,
"
tslint
"
:
"
^3.7.4
"
,
"
lodash
"
:
"
^4.11.1
"
,
"
jasmine-core
"
:
"
~2.4.1
"
,
"
karma
"
:
"
^1.2.0
"
,
"
karma-chrome-launcher
"
:
"
^0.2.3
"
,
"
karma-cli
"
:
"
^0.1.2
"
,
"
karma-htmlfile-reporter
"
:
"
^0.2.2
"
,
"
karma-jasmine
"
:
"
^0.3.8
"
,
"
tslint
"
:
"
^3.15.1
"
,
"
lodash
"
:
"
^4.16.1
"
,
"
jasmine-core
"
:
"
~2.5.2
"
,
"
karma
"
:
"
^1.3.0
"
,
"
karma-chrome-launcher
"
:
"
^2.0.0
"
,
"
karma-cli
"
:
"
^1.0.1
"
,
"
karma-htmlfile-reporter
"
:
"
^0.3.4
"
,
"
karma-jasmine
"
:
"
^1.0.2
"
,
"
karma-jasmine-html-reporter
"
:
"
^0.2.2
"
,
"
karma-phantomjs-launcher
"
:
"
^1.0.2
"
,
"
karma-sourcemap-loader
"
:
"
^0.3.7
"
,
"
karma-webpack
"
:
"
^1.8.0
"
,
"
protractor
"
:
"
^3.3.0
"
,
"
rimraf
"
:
"
^2.5.2
"
},
...
...
systemjs.config.js
View file @
ea70d3a8
...
...
@@ -22,10 +22,11 @@
'
@angular/http
'
:
'
npm:@angular/http/bundles/http.umd.js
'
,
'
@angular/router
'
:
'
npm:@angular/router/bundles/router.umd.js
'
,
'
@angular/forms
'
:
'
npm:@angular/forms/bundles/forms.umd.js
'
,
'
@angular/upgrade
'
:
'
npm:@angular/upgrade/bundles/upgrade.umd.js
'
,
// other libraries
'
rxjs
'
:
'
npm:rxjs
'
,
'
angular
2-in-memory-web-api
'
:
'
npm:angular2
-in-memory-web-api
'
,
'
rxjs
'
:
'
npm:rxjs
'
,
'
angular
-in-memory-web-api
'
:
'
npm:angular
-in-memory-web-api
'
,
},
// packages tells the System loader how to load when no filename and/or no extension
packages
:
{
...
...
@@ -36,7 +37,7 @@
rxjs
:
{
defaultExtension
:
'
js
'
},
'
angular
2
-in-memory-web-api
'
:
{
'
angular-in-memory-web-api
'
:
{
main
:
'
./index.js
'
,
defaultExtension
:
'
js
'
}
...
...
wallaby.js
View file @
ea70d3a8
...
...
@@ -78,7 +78,7 @@ function bootstrap (wallaby) {
return
System
.
import
(
'
systemjs.config.extras.js
'
)
.
catch
(
function
(
reason
)
{
console
.
log
(
'
W
ARNING: System.import could not load "systemjs.config.extras.js"; c
ontinuing without it.
'
'
W
arning: System.import could not load the optional "systemjs.config.extras.js". Did you omit it by accident? C
ontinuing without it.
'
);
console
.
log
(
reason
);
});
...
...
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