-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from AnimalFoodBank/delano/80-auth-token-bug-prep
[#80] Prep for fixing auth token bug
- Loading branch information
Showing
21 changed files
with
4,878 additions
and
372 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
apps/api/afbcore/migrations/0002_alter_profile_address_alter_profile_address_verbatim.py
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,22 @@ | ||
# Generated by Django 4.2.11 on 2024-03-13 22:32 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("afbcore", "0001_initial"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="profile", | ||
name="address", | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="profile", | ||
name="address_verbatim", | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,100 @@ | ||
#.codiumai.toml | ||
[tests] | ||
|
||
## Testing framework to use - this can affect the content of the generated tests | ||
## as well as the test run command. | ||
## Possible values are: | ||
## Python: Pytest, Unittest | ||
## Javascript / Typescript: Jest, Mocha, Vitest, Karma, Jasmine, QUnit, React Testing Library | ||
## HOWEVER: running tests in JS / TS is at the moment only supported | ||
## for Jest, Mocha, Vitest, and React Testing Library | ||
framework = "Jasmine" | ||
|
||
## An additional Javascript utility library used to test your code, if any. | ||
## Possible values are None, Testing Library, Enzyme, or Chai. Not applicable to Python projects. | ||
# utility_library = "Testing Library" | ||
|
||
## A hint to the test generator about whether to use mocks or not. Possible values are true or false. | ||
use_mocks = true | ||
|
||
## How many tests should be generated by default. Fewer tests is faster. | ||
## Does not apply at the moment to extend-suite tests. | ||
# num_desired_tests = 6 | ||
|
||
## A multiline string, delimited with triple-quotes (""") serving as an extra instruction | ||
## that the AI model will take into consideration. | ||
## This will appear as "General instructions" in the | ||
## configuration section in the tests panel. | ||
# plan_instructions = """ | ||
# Each line should have a comment explaining it. | ||
# Each comment should start with the comment number (1., 2. etc.) | ||
# """ | ||
|
||
## A multiline string, delimited with triple-quotes (""") serving as an example test that represents | ||
## what you would like the generated tests to look like in terms of style, setup, etc. | ||
# example_test = """ | ||
# describe("something", () => { | ||
# it("says 'bar'", () => { | ||
# // given | ||
# | ||
# // when | ||
# const res = something.say(); | ||
# | ||
# // Then | ||
# expect(res).to.equal("bar"); | ||
# }); | ||
# }); | ||
# """ | ||
|
||
|
||
[tests.javascript] | ||
|
||
## When running Javascript / Typescript tests, use this directory as the test process "current working directory". | ||
## This is a path relative to the location of the config file. | ||
## Default: The directory containing the config file. | ||
## Note: the typical setup is to place the config file in the same directory as the relevant 'package.json' file, | ||
## and leave this commented-out. | ||
# overrideTestRunCwd = "./test" | ||
|
||
## This is the command that's used to run tests. | ||
## PLEASE READ CAREFULLY: | ||
## | ||
## When running tests, CodiumAI generates a temporary file that contains the test code for a single test, | ||
## and runs that file. | ||
## When the tests are done, the temporary file is deleted. | ||
## For component-oriented tests (when you click "test this class" or "test this function"), the temporary file | ||
## is created next to the file being tested. | ||
## For extend-suite tests (when you click "add more tests" on a test-suite), the temporary file is created next | ||
## to the test-suite file. | ||
## | ||
## Typically, you're going to want to take the test script defined in your package.json file, and tweak it a | ||
## little to make it compatible with CodiumAI. | ||
## | ||
## You almost always want to start with 'npx' (e.g. 'npx jest', not 'npm jest' or 'yarn test'). | ||
## | ||
## Note that the test command must be able to run test files that are located in the same directory as the | ||
## file under test. | ||
## A common issue is that the test command in the package.json file selects only from | ||
## a "tests" directory, causing the CodiumAI tests be "not found" - please remove any such restriction from | ||
## the command / configuration. | ||
## | ||
## The placeholder TEST_FILEPATH will be replaced with the actual test file path - this is how we find | ||
## the file to run. | ||
## | ||
## EXAMPLES: | ||
## Mocha: | ||
## npx ts-mocha TEST_FILEPATH --require ./test/mocha/setup.ts | ||
## Jest: | ||
## npx jest --runTestsByPath TEST_FILEPATH | ||
## | ||
## DEBUGGING NOTE: | ||
## To help debug run-tests issues, you can view run logs in vscode's OUTPUT | ||
## (select codium-ai from the dropdown). | ||
## It's helpful to clear the output (right-click -> clear) and then run the tests again. | ||
## | ||
# overrideTestRunScript = "npx jest --runTestsByPath TEST_FILEPATH" | ||
|
||
## A multiline string, delimited with triple-quotes ("""), | ||
## containing import declaration to use in each test file. | ||
# overrideImports = """ | ||
# import {expect} from 'chai'; """ |
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 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,8 @@ | ||
// builder.config.(js|ts) | ||
|
||
import { defineConfig } from '@vueform/builder' | ||
|
||
// You might place this anywhere else in your project | ||
import '@vueform/builder/index.css'; | ||
|
||
export default defineConfig({}) |
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.