Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(tests): fix tests and ci workflows #163

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sambacha
Copy link

@sambacha sambacha commented Feb 7, 2025

No description provided.

@@ -1222,7 +1222,7 @@ test("trying to add message to store that isn't on allowlist", async (t) => {
});

test("adding message from too far into the future", async (t) => {
env.MAX_TIMESTAMP_DELTA_SECS = 60;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes:

Type 'number' is not assignable to type 'string'

Comment on lines +1 to +15
{
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Bundler",
"checkJs": true,
"target": "ES2022",
"allowImportingTsExtensions": true,
"strictNullChecks": true,
"strictFunctionTypes": true
},
"exclude": [
"node_modules",
"**/node_modules/*"
]
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dev:
This gives typechecking in VSCode Studio (it uses the typescript typechecker).

@@ -0,0 +1,91 @@
name: Docker build & push image
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be needed in a forthcoming PR for doing E2E testing in ephemeral CI instances.

The reason being it will be much easier to track regressions and also we need the container env anyway for network tests.

@@ -1,3 +1,9 @@
root = true
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:
correct editorconfig 🍆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant