Utilizing the FileSystem API to generate a directory with 2 entries for a test, I am facing an issue where Jasmine does not wait for the promise to resolve before executing the test, resulting in failure. Despite using the async wrapper, the problem persists.
Any insights on why this is happening?
describe('traverseDirectory() method', () => {
let directoryToTraverse;
let entries;
beforeEach(async(() => {
// Test setup logic
});
it('should run', async(() => {
// Test execution logic
}));
});