Skip to content

Commit

Permalink
Solve issues with tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Apr 23, 2024
1 parent 7d61cd9 commit 95124c0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
touch .env
echo 'METACALL_AUTH_EMAIL="${{ secrets.METACALL_AUTH_EMAIL }}"' >> .env
echo 'METACALL_AUTH_PASSWORD="${{ secrets.METACALL_AUTH_PASSWORD }}"' >> .env
echo 'NODE_ENV=testing' >> .env
npm run coverage
- name: Publish
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metacall/deploy",
"version": "0.1.26",
"version": "0.1.27",
"description": "Tool for deploying into MetaCall FaaS platform.",
"main": "dist/index.js",
"bin": {
Expand Down
5 changes: 4 additions & 1 deletion src/test/cli.integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ describe('Integration CLI', function () {
it("Should be able to list all the plans in user's account", async () =>
strictEqual(
await runCLI(['--listPlans'], [keys.enter]).promise,
'i Essential: 1\n'
'i Essential: 2\n'
));

// signup already taken email
Expand Down Expand Up @@ -481,7 +481,9 @@ describe('Integration CLI', function () {
}
});

// Note: Disable this test for now, I do not want to spam the FaaS
// success signup
/*
it('Should be able to signup successfully', async () => {
await clearCache();
const str = generateRandomString(Math.floor(Math.random() * 10) + 1);
Expand Down Expand Up @@ -511,6 +513,7 @@ describe('Integration CLI', function () {
);
}
});
*/
});

// TODO: Tests to add
Expand Down

0 comments on commit 95124c0

Please sign in to comment.