I have tried using both openDirectory and setting the fs.cwd to the corresponding file descriptor for the new directory, but neither seem to be changing the current current directory.
I found a bug in my code. I have a flag for when the fs is initialized and I didn't set it afterward. I pushed to your PR and it's passing your test now.
I have tried using both openDirectory and setting the fs.cwd to the corresponding file descriptor for the new directory, but neither seem to be changing the current current directory.