We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b29dd2 commit 80a875cCopy full SHA for 80a875c
1 file changed
tests/Feature/HandlerTest.php
@@ -7,7 +7,8 @@
7
$name = __DIR__ . '/../tmp/test';
8
$filename = DataExporter::csv([['a']])->saveAs($name);
9
10
- expect($filename)->toBe(dirname(__DIR__) . '/tmp/test.csv');
+ expect(file_exists($filename))->toBeTrue()
11
+ ->and(file_exists($name . '.csv'))->toBeTrue();
12
});
13
14
it('Handler with browserDownload', function () {
0 commit comments