Files
jest/e2e/snapshot/__tests__/secondSnapshot.test.js

21 lines
451 B
JavaScript

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
'use strict';
describe('snapshot', () => {
it('works with plain objects and the title has `escape` characters', () => {
const test = {
a: 1,
b: '2',
c: 'three`',
d: 'vier',
};
expect(test).toMatchSnapshot();
});
});