mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2024-11-23 16:44:59 +03:00
commit
dcae2f3987
17834
package-lock.json
generated
17834
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -74,7 +74,7 @@
|
||||
"rimraf": "3.0.2",
|
||||
"sinon": "9.0.1",
|
||||
"tar": "6.0.1",
|
||||
"ts-jest": "25.2.1",
|
||||
"ts-jest": "^25.5.1",
|
||||
"ts-loader": "6.2.2",
|
||||
"typescript": "3.8.3",
|
||||
"webpack": "4.42.1",
|
||||
|
@ -15,7 +15,8 @@ describe('_generateCadesFn', () => {
|
||||
console.log('hello from named function');
|
||||
}),
|
||||
).toEqual(
|
||||
`(function anonymous() {
|
||||
`(function anonymous(
|
||||
) {
|
||||
|
||||
console.log('hello from named function');
|
||||
|
||||
@ -25,7 +26,8 @@ describe('_generateCadesFn', () => {
|
||||
|
||||
test('generates function body from arrow function callback', () => {
|
||||
expect(_generateCadesFn(() => console.log('hello from arrow function'))).toEqual(
|
||||
`(function anonymous() {
|
||||
`(function anonymous(
|
||||
) {
|
||||
return console.log('hello from arrow function');
|
||||
})();//# sourceURL=crypto-pro_dynamicFn.js`,
|
||||
);
|
||||
@ -41,7 +43,8 @@ describe('_generateCadesFn', () => {
|
||||
void (__cadesAsyncToken__ + cadesBarNoMatterWhat.whateverMethod(cadesFoo));
|
||||
}),
|
||||
).toEqual(
|
||||
`(function anonymous() {
|
||||
`(function anonymous(
|
||||
) {
|
||||
|
||||
var cadesFoo = cadesplugin.CreateObject('CADESCOM.Foo');
|
||||
var cadesBar = cadesplugin.CreateObject('CAdESCOM.Bar');
|
||||
@ -69,7 +72,8 @@ describe('_generateCadesFn', () => {
|
||||
void (__cadesAsyncToken__ + cadesBarNoMatterWhat.whateverMethod(cadesFoo));
|
||||
}),
|
||||
).toEqual(
|
||||
`cadesplugin.async_spawn(function* anonymous() {
|
||||
`cadesplugin.async_spawn(function* anonymous(
|
||||
) {
|
||||
|
||||
var cadesFoo = yield cadesplugin.CreateObjectAsync('CADESCOM.Foo');
|
||||
var cadesBar = yield cadesplugin.CreateObjectAsync('CAdESCOM.Bar');
|
||||
|
Loading…
Reference in New Issue
Block a user