diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-07-31 09:49:19 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-07-31 09:49:19 -0400 |
commit | 0b5a25a39ef5aaca7044118d6fd9abd099e40697 (patch) | |
tree | 06f096ad1365b6bd698ff8af9e9885449ff9bccb /webapp/tests | |
parent | 3f8dda6f5ad676c976fd5ae575a6790fdb505449 (diff) | |
download | chat-0b5a25a39ef5aaca7044118d6fd9abd099e40697.tar.gz chat-0b5a25a39ef5aaca7044118d6fd9abd099e40697.tar.bz2 chat-0b5a25a39ef5aaca7044118d6fd9abd099e40697.zip |
Fixed clientside emoji tests leaving behind a temporary file (#3691)
Diffstat (limited to 'webapp/tests')
-rw-r--r-- | webapp/tests/client_emoji.test.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/tests/client_emoji.test.jsx b/webapp/tests/client_emoji.test.jsx index 98f25cb7d..6370be256 100644 --- a/webapp/tests/client_emoji.test.jsx +++ b/webapp/tests/client_emoji.test.jsx @@ -17,6 +17,10 @@ describe('Client.Emoji', function() { fs.writeFileSync(testGif, buffer); }); + after(function() { + fs.unlinkSync('test.gif'); + }); + it('addEmoji', function(done) { TestHelper.initBasic(() => { const name = TestHelper.generateId(); |