Permalink
Browse files

Fixed .editorconfig indent definition and the test.ts indentation

  • Loading branch information...
1 parent 55281f1 commit 7ee37dead64f384b651b324bd6b3c6ca5a59b068 @zakhenry zakhenry committed Jun 29, 2015
Showing with 22 additions and 22 deletions.
  1. +1 −1 .editorconfig
  2. +21 −21 test/test.ts
View
@@ -3,7 +3,7 @@ root = true
[*]
indent_style = space
-indent_size = 2
+indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
View
@@ -5,38 +5,38 @@ var expect = chai.expect;
describe('Service Provider Tests', () => {
- var ngJwtAuthServiceProviderObj;
+ var ngJwtAuthServiceProviderObj;
- describe('Configuration', () => {
+ describe('Configuration', () => {
- beforeEach(function () {
+ beforeEach(function () {
- angular.module("providers", ['ngJwtAuth']); //require the module as dependency
- module("providers"); //mock the depending module
+ angular.module("providers", ['ngJwtAuth']); //require the module as dependency
+ module("providers"); //mock the depending module
- module((ngJwtAuthServiceProvider) => {
- ngJwtAuthServiceProviderObj = ngJwtAuthServiceProvider; //register injection of service provider
- });
+ module((ngJwtAuthServiceProvider) => {
+ ngJwtAuthServiceProviderObj = ngJwtAuthServiceProvider; //register injection of service provider
+ });
- inject(); //complete injection
- });
+ inject(); //complete injection
+ });
- it('should configure api endpoints', function () {
+ it('should configure api endpoints', function () {
- ngJwtAuthServiceProviderObj.setApiEndpoints({
- base: 'mock/base/path/',
- login: 'mock/login',
- refresh: 'mock/refresh'
- });
+ ngJwtAuthServiceProviderObj.setApiEndpoints({
+ base: 'mock/base/path/',
+ login: 'mock/login',
+ refresh: 'mock/refresh'
+ });
- expect(ngJwtAuthServiceProviderObj.apiEndpoints.base).to.equal('mock/base/path/');
- expect(ngJwtAuthServiceProviderObj.apiEndpoints.login).to.equal('mock/login');
- expect(ngJwtAuthServiceProviderObj.apiEndpoints.refresh).to.equal('mock/refresh');
- });
+ expect(ngJwtAuthServiceProviderObj.apiEndpoints.base).to.equal('mock/base/path/');
+ expect(ngJwtAuthServiceProviderObj.apiEndpoints.login).to.equal('mock/login');
+ expect(ngJwtAuthServiceProviderObj.apiEndpoints.refresh).to.equal('mock/refresh');
+ });
- });
+ });
});

0 comments on commit 7ee37de

Please sign in to comment.