summaryrefslogtreecommitdiff
path: root/cli/tests/config.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-10-23 11:50:15 +1100
committerGitHub <noreply@github.com>2020-10-23 11:50:15 +1100
commit7e2c7fb6c5454e30158d74e1a5786183ea391f07 (patch)
tree42402aa26a0422b9c46d1d441598dbe803b8ed15 /cli/tests/config.ts
parent9fa59f0ca8164f5e02ba2a2fa90b6fdbce5c1afb (diff)
refactor(cli): migrate run and cache to new infrastructure (#7996)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'cli/tests/config.ts')
-rw-r--r--cli/tests/config.ts18
1 files changed, 15 insertions, 3 deletions
diff --git a/cli/tests/config.ts b/cli/tests/config.ts
index e08061e77..6b1cb7322 100644
--- a/cli/tests/config.ts
+++ b/cli/tests/config.ts
@@ -1,5 +1,17 @@
-const map = new Map<string, { foo: string }>();
+/* eslint-disable */
+function b() {
+ return function (
+ _target: any,
+ _propertyKey: string,
+ _descriptor: PropertyDescriptor,
+ ) {
+ console.log("b");
+ };
+}
-if (map.get("bar").foo) {
- console.log("here");
+class A {
+ @b()
+ a() {
+ console.log("a");
+ }
}