mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-01 00:50:24 -04:00
Renaming file reading/extracting functions in tests.
This commit is contained in:
parent
af32f0772e
commit
6c2838e8f4
20 changed files with 42 additions and 42 deletions
test/integration
|
@ -1,13 +1,13 @@
|
|||
const path = require('path');
|
||||
const test = require('tap').test;
|
||||
const makeTestStorage = require('../fixtures/make-test-storage');
|
||||
const readAsBuffer = require('../fixtures/readProjectFile').readAsBuffer;
|
||||
const readFileToBuffer = require('../fixtures/readProjectFile').readFileToBuffer;
|
||||
const VirtualMachine = require('../../src/index');
|
||||
const Thread = require('../../src/engine/thread');
|
||||
const Runtime = require('../../src/engine/runtime');
|
||||
|
||||
const projectUri = path.resolve(__dirname, '../fixtures/default.sb2');
|
||||
const project = readAsBuffer(projectUri);
|
||||
const project = readFileToBuffer(projectUri);
|
||||
|
||||
const checkMonitorThreadPresent = (t, threads) => {
|
||||
t.equal(threads.length, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue