Passing Flags parameter tests. This test checks if passing Flags parameters to DirectoryEntry.getFile does not crash and works as expected.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
* Passing JSON Flags object.
* Passing JSON Flags object (with exclusive=true).
* Passing null as a flags parameter.
* Passing a number as a flags parameter.
Caught exception: TypeError: Failed to execute 'getFile' on 'DirectoryEntry': The provided value is not of type 'FileSystemFlags'.
Finished running tests.
PASS expectedCallbacksCount is 1
PASS unexpectedCallbacksCount is 0
PASS successfullyParsed is true
TEST COMPLETE