Skip to content

Commit

Permalink
Feature/move unit tests (#2902)
Browse files Browse the repository at this point in the history
* [se] Move unit-tests from cell/.unit-tests/ to tests/cell/spreadsheet-calculation/
  • Loading branch information
GoshaZotov authored Jul 26, 2022
1 parent acf2967 commit 7265559
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
npm install -g grunt-cli node-qunit-puppeteer
npm install --prefix build
grunt --gruntfile build/Gruntfile.js develop
node-qunit-puppeteer cell/.unit-tests/FormulaTests.html
node-qunit-puppeteer cell/.unit-tests/subdir/PivotTests.html
node-qunit-puppeteer cell/.unit-tests/CopyPasteTests.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/FormulaTests.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/PivotTests.html
node-qunit-puppeteer tests/cell/spreadsheet-calculation/CopyPasteTests.html
node-qunit-puppeteer tests/word/document-calculation/paragraph.html
builder-tests:
runs-on: ubuntu-latest
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xregexp/3.2.0/xregexp-all.min.js"></script>


<script type="text/javascript" src="../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript" src="../../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript">
window.sdk_scripts.forEach(function(item){
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
document.write('<script type="text/javascript" src="' + item + '"><\/script>');
});
</script>

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/qunit/2.16.0/qunit.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xregexp/3.2.0/xregexp-all.min.js"></script>

<script type="text/javascript" src="../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript" src="../../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript">
window.sdk_scripts.forEach(function(item){
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
document.write('<script type="text/javascript" src="' + item + '"><\/script>');
});
</script>

<script type="text/javascript" src="../document/empty.js"></script>
<script type="text/javascript" src="../../../cell/document/empty.js"></script>
<script type="text/javascript" src="FormulaTests.js"></script>
</head>
<body>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
});
</script>

<script type="text/javascript" src="../../document/empty.js"></script>
<script type="text/javascript" src="../../../cell/document/empty.js"></script>
<script type="text/javascript" src="PivotTests.js"></script>
</head>
<body>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/qunit/1.11.0/qunit.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xregexp/3.2.0/xregexp-all.min.js"></script>

<script type="text/javascript" src="../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript" src="../../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript">
window.sdk_scripts.forEach(function(item){
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
document.write('<script type="text/javascript" src="' + item + '"><\/script>');
});
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/qunit/1.11.0/qunit.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xregexp/3.2.0/xregexp-all.min.js"></script>

<script type="text/javascript" src="../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript" src="../../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript">
window.sdk_scripts.forEach(function(item){
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
document.write('<script type="text/javascript" src="' + item + '"><\/script>');
});
</script>
<script type="text/javascript" src="tests.js"></script>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/qunit/1.11.0/qunit.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xregexp/3.2.0/xregexp-all.min.js"></script>

<script type="text/javascript" src="../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript" src="../../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript">
window.sdk_scripts.forEach(function(item){
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
document.write('<script type="text/javascript" src="' + item + '"><\/script>');
});
</script>

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/qunit/1.11.0/qunit.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xregexp/3.2.0/xregexp-all.min.js"></script>

<script type="text/javascript" src="../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript" src="../../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript">
window.sdk_scripts.forEach(function(item){
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
document.write('<script type="text/javascript" src="' + item + '"><\/script>');
});
</script>

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/qunit/1.11.0/qunit.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xregexp/3.2.0/xregexp-all.min.js"></script>

<script type="text/javascript" src="../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript" src="../../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript">
window.sdk_scripts.forEach(function(item){
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
document.write('<script type="text/javascript" src="' + item + '"><\/script>');
});
</script>

Expand Down
File renamed without changes.

0 comments on commit 7265559

Please sign in to comment.