Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Commit

Permalink
Add example tests when init creates a new express project (#5)
Browse files Browse the repository at this point in the history
* first commit

* first commit

* linter test working

* adjust gitignore

* adjust gitignore

* remove comment

* remove comment

* adjust permission

* adjust permission 2

* adjust permission

* adjust permission

* adjust permission

* chmod

* more files

* more files

* more files

* more files

* getting close

* using find type file

* last files

* increase timeout

* more logging

* move to scope

* tslint

* remove typescript

* Update package.json

Co-Authored-By: Florian Richter <[email protected]>

* Update package.json

Co-Authored-By: Florian Richter <[email protected]>

* Update package.json

Co-Authored-By: Florian Richter <[email protected]>

* Update package.json

License

Co-Authored-By: Florian Richter <[email protected]>

* Update package.json

Co-Authored-By: Florian Richter <[email protected]>

* Update test/init.spec.ts

Co-Authored-By: Florian Richter <[email protected]>

* florian remarks

* adjust signature

* Update package.json

Co-Authored-By: Florian Richter <[email protected]>

* Update package-lock.json

Co-Authored-By: Florian Richter <[email protected]>

* merge master

* remeve unnecessary jest setup

* Fix formatting

* Update and fix versions

* Add quoteProp to .prettierrc

* more comments florian

* Update src/templates/init/test/sample-unit-test.spec.js

Co-Authored-By: Florian Richter <[email protected]>

* florians remakrs

* some more remarks

* some more remarks
  • Loading branch information
FrankEssenberger authored and Florian Richter committed Oct 22, 2019
1 parent 5589520 commit 61a895f
Show file tree
Hide file tree
Showing 19 changed files with 661 additions and 271 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
/tmp
/yarn.lock
node_modules
test/*.ts/
.idea
test/*spec/*
oclif.manifest.json
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"$schema": "http://json.schemastore.org/prettierrc",
"singleQuote": true,
"printWidth": 150,
"quoteProps": "consistent",
"filepath": "**/*.ts"
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ EXAMPLES
$ sap-cloud-sdk autocomplete --refresh-cache
```

_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v0.1.3/src/commands/autocomplete/index.ts)_
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v0.1.4/src/commands/autocomplete/index.ts)_

## `sap-cloud-sdk help [COMMAND]`

Expand All @@ -114,7 +114,7 @@ OPTIONS
--all see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.0/src/commands/help.ts)_
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src/commands/help.ts)_

## `sap-cloud-sdk help-page`

Expand Down
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
modulePathIgnorePatterns: ['<rootDir>/lib', '<rootDir>/bin', '<rootDir>/tmp', '<rootDir>/test/nest', '<rootDir>/test/express']
modulePathIgnorePatterns: ['<rootDir>/lib', '<rootDir>/bin', '<rootDir>/tmp', '<rootDir>/test/nest', '<rootDir>/test/express'],
roots: ["test"]
};
Loading

0 comments on commit 61a895f

Please sign in to comment.