Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
Add ES6 import on unittest codes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
karrot-farmer committed Mar 9, 2018
1 parent 6065e02 commit 8f34622
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/linkedtext_test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const expect = require("chai").expect;
const splitTextIntoLinkedSlices = require("../src/utils/LinkedTextUtils").splitTextIntoLinkedSlices;
import { expect } from "chai";
import { splitTextIntoLinkedSlices } from "../src/utils/LinkedTextUtils";

describe('linikedtext', () => {
it('should splitTextIntoLinkedSlices works with a linktext that have no link', () => {
Expand Down
4 changes: 2 additions & 2 deletions test/validationutils_test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const expect = require("chai").expect;
const notEmptyString = require("../src/utils/ValidationUtils").notEmptyString;
import { expect } from "chai";
import { notEmptyString } from "../src/utils/ValidationUtils";


describe('notEmptyString', () => {
Expand Down

0 comments on commit 8f34622

Please sign in to comment.