Skip to content
This repository was archived by the owner on Apr 25, 2019. It is now read-only.

Commit cc863c8

Browse files
committed
Switch to Jest and prepare for async loading of GDevelop.js
1 parent b97d0b2 commit cc863c8

File tree

11 files changed

+6461
-1727
lines changed

11 files changed

+6461
-1727
lines changed

Gruntfile.js

-9
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ module.exports = function(grunt) {
3232
}
3333

3434
grunt.initConfig({
35-
mochacli: {
36-
options: {
37-
require: ['expect.js'],
38-
bail: true,
39-
},
40-
all: ['test/**/*.js'],
41-
},
4235
concat: {
4336
options: {
4437
separator: ';',
@@ -150,7 +143,6 @@ module.exports = function(grunt) {
150143
},
151144
});
152145

153-
grunt.loadNpmTasks('grunt-mocha-cli');
154146
grunt.loadNpmTasks('grunt-contrib-clean');
155147
grunt.loadNpmTasks('grunt-contrib-copy');
156148
grunt.loadNpmTasks('grunt-contrib-concat');
@@ -179,5 +171,4 @@ module.exports = function(grunt) {
179171
'compress',
180172
'copy:newIDE',
181173
]);
182-
grunt.registerTask('test', ['mochacli']);
183174
};

Readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ source ./emsdk_env.sh
4141
```shell
4242
cd GDevelop.js
4343
npm install
44-
grunt build
44+
npm run build
4545
```
4646

4747
Output is created in */path/to/GD/Binaries/Output/libGD.js/*.
@@ -62,7 +62,7 @@ Launch tests and examples
6262

6363
Launch tests with grunt:
6464

65-
grunt test
65+
npm test
6666

6767
Or launch example:
6868

0 commit comments

Comments
 (0)