Compare commits

...

2 Commits

Author SHA1 Message Date
ef79734fac ok 2024-02-20 22:27:41 -07:00
13ce0c4bac fix output 2024-02-20 22:22:39 -07:00
2 changed files with 2 additions and 5 deletions

View File

@ -25,7 +25,7 @@ jobs:
path: ~/scwrypts path: ~/scwrypts
- run: | - run: |
: \ : \
&& pip install -e . \ && pip install . .[test] \
&& pytest \ && pytest \
; ;

View File

@ -64,11 +64,9 @@ afterEach(() => {
}); });
describe('exact lookup', () => { describe('exact lookup', () => {
let output;
beforeEach(async () => { beforeEach(async () => {
sample.spy.getScwryptsLookup.mockReturnValue(sample.lookup.exact); sample.spy.getScwryptsLookup.mockReturnValue(sample.lookup.exact);
await scwrypts(sample.options);
output = await scwrypts(sample.options);
}); });
test('gets the correct lookup', () => { test('gets the correct lookup', () => {
@ -98,7 +96,6 @@ describe('exact lookup', () => {
describe('patterns lookup', () => { describe('patterns lookup', () => {
beforeEach(async () => { beforeEach(async () => {
sample.spy.getScwryptsLookup.mockReturnValue(sample.lookup.patterns); sample.spy.getScwryptsLookup.mockReturnValue(sample.lookup.patterns);
await scwrypts(sample.options); await scwrypts(sample.options);
}); });