We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57c4f92 commit 5f0c4ccCopy full SHA for 5f0c4cc
.github/workflows/tests.yml
@@ -23,5 +23,9 @@ jobs:
23
npm install
24
25
- name: Test with jest
26
+ env:
27
+ SA_TEST_USERNAME: ${{ secrets.SA_TEST_USERNAME }}
28
+ SA_TEST_PASSWORD: ${{ secrets.SA_TEST_PASSWORD }}
29
+
30
run: |
31
npm run test
tests/login.test.ts
@@ -2,8 +2,7 @@ import * as sa from '../src';
2
3
test('Login by username and password', async () => {
4
const username = process.env["SA_TEST_USERNAME"];
5
- const password = process.env["SA_TEST_PASSWORD"];
6
- // const sessId = process.env["SA_TEST_SESSID"];
+ const password = process.env["SA_TEST_PASSWORD"];
7
8
expect(username).toBeDefined();
9
expect(password).toBeDefined();
0 commit comments