This commit is contained in:
Antonio Scandurra
2015-12-11 15:39:29 +01:00
parent 1f5473b2dd
commit a63c294dfd

View File

@@ -73,6 +73,5 @@ describe "NativeCompileCache", ->
fn3 = require('./fixtures/native-cache/file-3')
expect(fakeCacheStore.delete.calls.length).toBe(1)
expect(fakeCacheStore.delete.calls[0].args[0]).toBe(require.resolve('./fixtures/native-cache/file-3'))
expect(fakeCacheStore.delete).toHaveBeenCalledWith(require.resolve('./fixtures/native-cache/file-3'))
expect(fn3()).toBe(3)