-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency chai to v5 (#494)
* chore(deps): update dependency chai to v5 * use import * ESM syntax * update to ESM module * temp: disable test * fix super linter reporting --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Anis Khan <[email protected]>
- Loading branch information
1 parent
729a3f0
commit bd4a800
Showing
11 changed files
with
1,634 additions
and
2,289 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 |
---|---|---|
|
@@ -38,4 +38,6 @@ jobs: | |
# Run Linter against code base # | ||
################################ | ||
- name: Lint Code Base | ||
uses: github/super-linter@v7 | ||
uses: super-linter/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Tests | |
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- main-disabled | ||
paths: | ||
- api/** | ||
- test/** | ||
|
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
const config = { | ||
export const Config = { | ||
uri: 'mongodb://mongo:27017/users' | ||
} | ||
|
||
module.exports = config |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
const mongoose = require('mongoose') | ||
const config = require('./config') | ||
import mongoose from 'mongoose' | ||
import {Config} from './config.js' | ||
|
||
mongoose.connect(config.uri) | ||
mongoose.connect(Config.uri) | ||
|
||
const userSchema = { | ||
firstName: String, | ||
lastName: String, | ||
tags: Array | ||
} | ||
|
||
module.exports = mongoose.model('users', userSchema) | ||
export const Model = mongoose.model('users', userSchema) |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.