diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-01-24 16:07:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 16:07:08 +0100 |
commit | 23d2b34d4b9aed1fd082ac4cdd01459537e687c5 (patch) | |
tree | dc7b8c2fe3d7203dd09f56bea59d135d7f67f9ce /cli/tests/testdata/inspector/memory.js | |
parent | d08da942339b86b2458ab06585e2f6e4ed30647b (diff) |
tests: Add inspector tests for "Memory" and "Profile" tabs (#13476)
Diffstat (limited to 'cli/tests/testdata/inspector/memory.js')
-rw-r--r-- | cli/tests/testdata/inspector/memory.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cli/tests/testdata/inspector/memory.js b/cli/tests/testdata/inspector/memory.js new file mode 100644 index 000000000..082d6367c --- /dev/null +++ b/cli/tests/testdata/inspector/memory.js @@ -0,0 +1,13 @@ +const objs = []; + +class Foo { + foo() { + return "foo"; + } +} + +setInterval(() => { + objs.push(new Foo()); +}, 1000); + +console.log("hello!"); |