aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.spec.ts7
-rw-r--r--src/index.ts1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/index.spec.ts b/src/index.spec.ts
new file mode 100644
index 0000000..9f3fef3
--- /dev/null
+++ b/src/index.spec.ts
@@ -0,0 +1,7 @@
+import { x } from './index';
+
+describe('index', () => {
+ it('should export x = 1', () => {
+ expect(x).toEqual(1);
+ });
+});
diff --git a/src/index.ts b/src/index.ts
new file mode 100644
index 0000000..ad1d380
--- /dev/null
+++ b/src/index.ts
@@ -0,0 +1 @@
+export const x = 1;