test(cleanup): remove/reintorduce skipped tests (#2788)
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
"scripts": {
|
||||
"develop": "yarn build:esm --watch",
|
||||
"build": "cross-env NODE_ENV=production webpack",
|
||||
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward"
|
||||
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
|
||||
},
|
||||
"keywords": [
|
||||
"netlify",
|
||||
|
@ -61,25 +61,6 @@ describe('entryDraft reducer', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('DRAFT_CHANGE', () => {
|
||||
it.skip('should update the draft', () => {
|
||||
const newEntry = {
|
||||
...entry,
|
||||
raw: 'updated',
|
||||
};
|
||||
expect(reducer(initialState, actions.changeDraft(newEntry))).toEqual(
|
||||
fromJS({
|
||||
entry: {
|
||||
...entry,
|
||||
raw: 'updated',
|
||||
},
|
||||
mediaFiles: [],
|
||||
hasChanged: true,
|
||||
}),
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
describe('persisting', () => {
|
||||
beforeEach(() => {
|
||||
initialState = fromJS({
|
||||
|
Reference in New Issue
Block a user