Skip to content

Commit

Permalink
Resolved import errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mickosav committed May 16, 2018
1 parent 71c621d commit 24041b6
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 22 deletions.
4 changes: 2 additions & 2 deletions dist/cypress-testrail-reporter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cypress-testrail-reporter.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 8 additions & 11 deletions dist/testrail.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/testrail.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cypress-testrail-reporter",
"version": "1.0.9",
"version": "1.1.0",
"description": "A Testrail reporter for cypress including TestRail API basic library",
"main": "index.js",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/cypress-testrail-reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as moment from 'moment';
import { TestRail } from './testrail';
import { titleToCaseIds } from './shared';
import { Status, TestRailResult } from './testrail.interface';
import chalk from 'chalk';
const chalk = require('chalk');

export class CypressTestRailReporter extends reporters.Spec {
private results: TestRailResult[] = [];
Expand Down
7 changes: 2 additions & 5 deletions src/lib/testrail.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import axios from 'axios';
import chalk from 'chalk';
const axios = require('axios');
const chalk = require('chalk');
import { TestRailOptions, TestRailResult } from './testrail.interface';

/**
* TestRail basic API wrapper
*/
export class TestRail {
private base: String;
private runId: Number;
Expand Down

0 comments on commit 24041b6

Please sign in to comment.