Move serializers test to the correct folder

Reviewed By: mjesun

Differential Revision: D7210700

fbshipit-source-id: 4d1cc709ffabb46f244ab66d96467f4cb1c90eaf
This commit is contained in:
Rafael Oleza 2018-03-19 10:04:51 -07:00 committed by Facebook Github Bot
parent 40cce3b120
commit a4afdcb2e8
2 changed files with 5 additions and 5 deletions

View File

@ -10,11 +10,11 @@
'use strict';
jest.mock('../../node-haste/lib/toLocalPath');
jest.mock('../../Assets');
jest.mock('../../../node-haste/lib/toLocalPath');
jest.mock('../../../Assets');
const {getAssetData} = require('../../Assets');
const toLocalPath = require('../../node-haste/lib/toLocalPath');
const {getAssetData} = require('../../../Assets');
const toLocalPath = require('../../../node-haste/lib/toLocalPath');
const CURRENT_TIME = 1482363367000;
@ -43,7 +43,7 @@ describe('Serializers', () => {
}
beforeEach(() => {
Serializers = require('../Serializers/Serializers');
Serializers = require('../Serializers');
getDelta.mockReturnValueOnce(Promise.resolve(deltaResponse));
getDependenciesFn.mockReturnValue(Promise.resolve(() => new Set()));