Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
test path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertoGM committed Sep 21, 2016
1 parent 4090618 commit 23a3988
Show file tree
Hide file tree
Showing 83 changed files with 32 additions and 13 deletions.
File renamed without changes.
22 changes: 22 additions & 0 deletions npm-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\rgarciam\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'test' ]
2 info using npm@3.10.6
3 info using node@v4.4.7
4 verbose stack Error: ENOENT: no such file or directory, open 'C:\AngularJS\repo\oasp4js-rev\package.json'
4 verbose stack at Error (native)
5 verbose cwd C:\AngularJS\repo\oasp4js-rev
6 error Windows_NT 6.1.7601
7 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\rgarciam\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "test"
8 error node v4.4.7
9 error npm v3.10.6
10 error path C:\AngularJS\repo\oasp4js-rev\package.json
11 error code ENOENT
12 error errno -4058
13 error syscall open
14 error enoent ENOENT: no such file or directory, open 'C:\AngularJS\repo\oasp4js-rev\package.json'
15 error enoent ENOENT: no such file or directory, open 'C:\AngularJS\repo\oasp4js-rev\package.json'
15 error enoent This is most likely not a problem with npm itself
15 error enoent and is related to npm not being able to find a file.
16 verbose exit [ -4058, true ]
File renamed without changes.
File renamed without changes.
14 changes: 6 additions & 8 deletions angular-cli.json → oasp4js-sample/angular-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,25 @@
"tsconfig": "tsconfig.json",
"prefix": "app",
"mobile": false,
"styles": [
"styles.css"
],
"styles": [],
"scripts": [],
"environments": {
"source": "environments/environment.ts",
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
"source": "config/environment.ts",
"dev": "config/environment.ts",
"prod": "config/environment.prod.ts"
}
}
],
"addons": [],
"packages": [],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
"config": "./config/protractor.conf.js"
}
},
"test": {
"karma": {
"config": "./karma.conf.js"
"config": "./config/karma.conf.js"
}
},
"defaults": {
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions karma.conf.js → oasp4js-sample/config/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ module.exports = function (config) {
require('angular-cli/plugins/karma')
],
files: [
{ pattern: './src/test.ts', watched: false }
{ pattern: '../src/test.ts', watched: false }
],
preprocessors: {
'./src/test.ts': ['angular-cli']
'../src/test.ts': ['angular-cli']
},
remapIstanbulReporter: {
reports: {
Expand All @@ -24,7 +24,7 @@ module.exports = function (config) {
}
},
angularCli: {
config: './angular-cli.json',
config: '../angular-cli.json',
environment: 'dev'
},
reporters: ['progress', 'karma-remap-istanbul'],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main.ts → oasp4js-sample/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import './polyfills.ts';

import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { enableProdMode } from '@angular/core';
import { environment } from './environments/environment';
import { environment } from '../config/environment';
import { AppModule } from './app/';

if (environment.production) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion src/styles.css

This file was deleted.

File renamed without changes.

0 comments on commit 23a3988

Please sign in to comment.