-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#94 added clear image option to "cut out" parts of the qr-code and ad…
…d an image
- Loading branch information
1 parent
0e59e89
commit a8956f8
Showing
4 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
import "jest-preset-angular/setup-jest"; | ||
import "./projects/ngx-kjua/src/lib/kjua/lib/qrcode" | ||
|
||
// We have to mock the whole thing as "qrcode-generator" needs to override the stringToBytes method | ||
// but typescript can't properly hande that | ||
jest.mock("./projects/ngx-kjua/src/lib/kjua/lib/qrcode", ()=>({ | ||
quiet_qrcode: jest.fn() | ||
})) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters