mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-10 04:54:04 -04:00
All tests passing
This commit is contained in:
parent
f86cad3305
commit
4a78e9c4af
2 changed files with 10 additions and 10 deletions
test/integration
|
@ -16,7 +16,7 @@ class TestInternalExtension {
|
|||
getInfo () {
|
||||
this.status.getInfoCalled = true;
|
||||
return {
|
||||
id: 'test-internal-extension',
|
||||
id: 'testInternalExtension',
|
||||
name: 'Test Internal Extension',
|
||||
blocks: [
|
||||
{
|
||||
|
@ -55,7 +55,7 @@ test('internal extension', t => {
|
|||
return vm.extensionManager._registerInternalExtension(extension).then(() => {
|
||||
t.ok(extension.status.getInfoCalled);
|
||||
|
||||
const func = vm.runtime.getOpcodeFunction('test-internal-extension.go');
|
||||
const func = vm.runtime.getOpcodeFunction('testInternalExtension_go');
|
||||
t.type(func, 'function');
|
||||
|
||||
t.notOk(extension.status.goCalled);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue