Skip to content

Commit

Permalink
Updated Blockly
Browse files Browse the repository at this point in the history
Updated Checks
  • Loading branch information
sestriel committed Nov 7, 2024
1 parent 99badad commit 9fb6396
Show file tree
Hide file tree
Showing 2 changed files with 621 additions and 600 deletions.
26 changes: 2 additions & 24 deletions main.test.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,8 @@
'use strict';

/**
* This is a dummy TypeScript test file using chai and mocha
*
* It's automatically excluded from npm and its build output is excluded from both git and npm.
* It is advised to test all your modules with accompanying *.test.js-files
*/
//const { expect } = require('chai');

// tslint:disable:no-unused-expression

const { expect } = require('chai');
// import { functionToTest } from "./moduleToTest";

describe('module to test => function to test', () => {
// initializing logic
const expected = 5;

it(`should return ${expected}`, () => {
const result = 5;
// assign result a value from functionToTest
expect(result).to.equal(expected);
// or using the should() syntax
result.should.equal(expected);
});
// ... more tests => it
describe('main.js => function to test', () => {

});

// ... more test suites => describe
Loading

0 comments on commit 9fb6396

Please sign in to comment.