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 036feec commit f4880c0Copy full SHA for f4880c0
async.test.js
@@ -826,6 +826,17 @@ modes.forEach((logic) => {
826
).toBe(null)
827
})
828
829
+ test('allow access to objects named as their methods', async () => {
830
+ expect(
831
+ await logic.run(
832
+ {
833
+ var: 'toString'
834
+ },
835
+ {toString: 'hello'}
836
+ )
837
+ ).toBe("hello")
838
+ })
839
+
840
test('allow access to functions on objects when enabled', async () => {
841
logic.allowFunctions = true
842
expect(
0 commit comments