UNPKG

549 BJavaScriptView Raw
1/**
2 * Copyright 2013-present, Facebook, Inc.
3 * All rights reserved.
4 *
5 * This source code is licensed under the BSD-style license found in the
6 * LICENSE file in the root directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 */
10
11'use strict';
12
13function getTestDocument(markup) {
14 document.open();
15 document.write(markup || '<!doctype html><html><meta charset=utf-8><title>test doc</title>');
16 document.close();
17 return document;
18}
19
20module.exports = getTestDocument;
\No newline at end of file