1 | /**
|
2 | * Copyright (c) 2013-present, Facebook, Inc.
|
3 | *
|
4 | * This source code is licensed under the MIT license found in the
|
5 | * LICENSE file in the root directory of this source tree.
|
6 | *
|
7 | */
|
8 |
|
9 | ;
|
10 |
|
11 | function getTestDocument(markup) {
|
12 | document.open();
|
13 | document.write(markup || '<!doctype html><html><meta charset=utf-8><title>test doc</title>');
|
14 | document.close();
|
15 | return document;
|
16 | }
|
17 |
|
18 | module.exports = getTestDocument; |
\ | No newline at end of file |