-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[serverless-apollo-contentful] Create Technology model (#861)
* feat: jest setup mocks and env * chore: graphql-tools executor * add tests * chore: replicate post tests * fix: typedefs * fix: Post -> Comment * fix: content * update tests * fix: tests for comments * fix: format * Update starters/graphql-serverless-contentful/src/schema/post/post.resolver.test.ts Co-authored-by: Maarten Bicknese <[email protected]> * chore: check if the have been called with * feat: implement technology model * chore: clean up old code * docs: update readme for technology model Closes: #851 * chore: remove left-over code * fix: improve small issues * fix: remove unused line Co-authored-by: Ian Mungai <[email protected]> Co-authored-by: kodejuice <[email protected]>
- Loading branch information
1 parent
808cca0
commit 804abd6
Showing
24 changed files
with
1,733 additions
and
1,835 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PORT=4001 | ||
DATABASE_URL="mysql://root:root@localhost:3306/testdb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const MOCK_ENV_VARS = { | ||
CONTENTFUL_CONTENT_MANAGEMENT_API_TOKEN: | ||
'MOCK_CONTENTFUL_CONTENT_MANAGEMENT_API_TOKEN', | ||
CONTENTFUL_SPACE_ID: 'MOCK_CONTENTFUL_SPACE_ID', | ||
CONTENTFUL_ENVIRONMENT: 'MOCK_CONTENTFUL_ENVIRONMENT', | ||
}; | ||
process.env = { ...process.env, ...MOCK_ENV_VARS }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.