summaryrefslogtreecommitdiffstats
path: root/graphcool-old/src/createCharge.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'graphcool-old/src/createCharge.test.js')
-rw-r--r--graphcool-old/src/createCharge.test.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/graphcool-old/src/createCharge.test.js b/graphcool-old/src/createCharge.test.js
deleted file mode 100644
index 65dde47..0000000
--- a/graphcool-old/src/createCharge.test.js
+++ /dev/null
@@ -1,23 +0,0 @@
-const takeMoney = require('./createCharge');
-
-const event = {
- "data": {
- "user": "cj6ntm8qic3260140vkuzif9d",
- "token": "tok_visa",
- },
- "context": {
- "headers": {}
- }
-}
-
-
-describe('Take Money', () => {
-
- test('A charge has come back', async () => {
- const res = await takeMoney(event);
- console.log(res);
- expect(res.data.amount).toBeGreaterThanOrEqual(0);
- });
-
-});
-