yhtml5-test
Version:
A test framework for front-end projects
16 lines (13 loc) • 467 B
JavaScript
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { ScriptLine } from '../utils/stack-frame';
test('script line shape', function () {
expect(new ScriptLine(5, 'foobar', true)).toMatchSnapshot();
});
test('script line to provide default highlight', function () {
expect(new ScriptLine(5, 'foobar')).toMatchSnapshot();
});