Compare commits

..

No commits in common. "ef79734face6edb4268f13f3267297695fac10d1" and "6236265f1ab6f40279a7bd802236220a7605fd76" have entirely different histories.

2 changed files with 5 additions and 2 deletions

View File

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

View File

@ -64,9 +64,11 @@ 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', () => {
@ -96,6 +98,7 @@ 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);
}); });