From 9470aa8f8a3f5782ac087aff4cfb7113ecfb9c12 Mon Sep 17 00:00:00 2001 From: Ivan Date: Wed, 24 Feb 2021 09:44:07 +0800 Subject: [PATCH] style: format. --- config.yml | 2 +- config.yml.example | 13 +++++++++++++ src/repos/repos.resolver.spec.ts | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 config.yml.example diff --git a/config.yml b/config.yml index 3aa6f0a..fbb3e40 100644 --- a/config.yml +++ b/config.yml @@ -10,4 +10,4 @@ db: username: fennec password: workspaces: - root: '/Users/ivanli/Projects/fennec/workspaces' \ No newline at end of file + root: 'E:\Projects\demos\workspaces' \ No newline at end of file diff --git a/config.yml.example b/config.yml.example new file mode 100644 index 0000000..3aa6f0a --- /dev/null +++ b/config.yml.example @@ -0,0 +1,13 @@ +env: dev +http: + port: 7122 + +db: + postgres: + host: 192.168.31.194 + port: 5432 + database: fennec + username: fennec + password: +workspaces: + root: '/Users/ivanli/Projects/fennec/workspaces' \ No newline at end of file diff --git a/src/repos/repos.resolver.spec.ts b/src/repos/repos.resolver.spec.ts index 161fd51..e8b3711 100644 --- a/src/repos/repos.resolver.spec.ts +++ b/src/repos/repos.resolver.spec.ts @@ -12,7 +12,7 @@ describe('ReposResolver', () => { resolver = module.get(ReposResolver); }); -it('should be defined', () => { + it('should be defined', () => { expect(resolver).toBeDefined(); }); });